asternet/Asterisk.2013/Asterisk.NET/Manager/Action/CreateConfigAction.cs

32 lines
1 KiB
C#
Raw Normal View History

2015-01-03 15:37:29 +00:00
namespace AsterNET.Manager.Action
{
public class CreateConfigAction : ManagerAction
{
/// <summary>
2015-01-03 15:37:29 +00:00
/// Creates an empty file in the configuration directory.
/// This action will create an empty file in the configuration directory. This action is intended to be used before an
/// UpdateConfig action.
/// </summary>
public CreateConfigAction()
{
}
/// <summary>
2015-01-03 15:37:29 +00:00
/// Creates an empty file in the configuration directory.
/// This action will create an empty file in the configuration directory. This action is intended to be used before an
/// UpdateConfig action.
/// </summary>
/// <param name="filename"></param>
public CreateConfigAction(string filename)
{
2015-01-03 15:37:29 +00:00
Filename = filename;
}
public override string Action
{
get { return "CreateConfig"; }
}
2015-01-03 15:37:29 +00:00
public string Filename { get; set; }
}
2015-01-03 15:37:29 +00:00
}