Exemple #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;
 }
Exemple #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();
 }
Exemple #5
0
 /// <summary>
 /// Constructor of the class
 /// </summary>
 public ReplaceFolder()
 {
     _readAppConfigData = new ReadAppConfigData();
     _helper            = new Helper();
     IsOperationSucceed = false;
 }