2015-01-03 15:37:29 +00:00
|
|
|
|
namespace AsterNET.Manager.Action
|
2014-04-07 10:35:39 +00:00
|
|
|
|
{
|
|
|
|
|
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.
|
2014-04-07 10:35:39 +00:00
|
|
|
|
/// </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.
|
2014-04-07 10:35:39 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="filename"></param>
|
|
|
|
|
public CreateConfigAction(string filename)
|
|
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
|
Filename = filename;
|
2014-04-07 10:35:39 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Action
|
|
|
|
|
{
|
|
|
|
|
get { return "CreateConfig"; }
|
|
|
|
|
}
|
|
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
|
public string Filename { get; set; }
|
2014-04-07 10:35:39 +00:00
|
|
|
|
}
|
2015-01-03 15:37:29 +00:00
|
|
|
|
}
|