Exemplo n.º 1
0
 /// <summary>
 /// Constructor of the class
 /// </summary>
 public Startup()
 {
     _readAppConfigData = new ReadAppConfigData();
     _helper            = new Helper();
     _replaceFile       = new ReplaceFile();
     _replaceFolder     = new ReplaceFolder();
     _mailNotification  = new MailNotification();
     IsOperationSucceed = false;
     IsFileReplaced     = false;
     IsFolderReplaced   = false;
     IsMailSent         = false;
 }
 /// <summary>
 /// Constructor of the class
 /// </summary>
 public ReplaceFile()
 {
     _readAppConfigData = new ReadAppConfigData();
     IsOperationSucceed = false;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor of the class
 /// </summary>
 public Helper()
 {
     _readAppConfigData = new ReadAppConfigData();
     _scW3SVC           = new ServiceController(_readAppConfigData.ReadValueByKey("W3SVCServiceName"));
 }
 /// <summary>
 /// Constructor of the class
 /// </summary>
 public MailNotification()
 {
     _readAppConfigData = new ReadAppConfigData();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Constructor of the class
 /// </summary>
 public ReplaceFolder()
 {
     _readAppConfigData = new ReadAppConfigData();
     _helper            = new Helper();
     IsOperationSucceed = false;
 }