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