// =========================================================================================================== /// <summary> /// Deserializes the sequences.xml file and stores a <b>SequencesConfiguration</b> object /// </summary> /// <returns>A <b>SequencesConfiguration</b> object</returns> // =========================================================================================================== private void LoadSequencesConfiguration() { // -------------------------------------------------- // Validates the deployer's sequences file // -------------------------------------------------- string sequencesFilePath = Path.Combine(this.WorkingDirectory, ConfigurationManager.AppSettings[APP_SETTING_SEQUENCES_FILE]); ValidateSequencesFile(sequencesFilePath); // -------------------------------------------------- // Deserializes the Sequences.xml file // -------------------------------------------------- this.SequencesConfig = XmlUtility.DeserializeXmlFile <SequencesConfiguration>(sequencesFilePath); }
// =========================================================================================================== /// <summary> /// Deserializes the sequences.xml file and stores a <b>SequencesConfiguration</b> object /// </summary> /// <returns>A <b>SequencesConfiguration</b> object</returns> // =========================================================================================================== private void LoadSequencesConfiguration() { // -------------------------------------------------- // Validates the deployer's sequences file // -------------------------------------------------- string sequencesFilePath = Path.Combine(this.WorkingDirectory, ConfigurationManager.AppSettings[APP_SETTING_SEQUENCES_FILE]); ValidateSequencesFile(sequencesFilePath); // -------------------------------------------------- // Deserializes the Sequences.xml file // -------------------------------------------------- this.SequencesConfig = XmlUtility.DeserializeXmlFile<SequencesConfiguration>(sequencesFilePath); }