Пример #1
0
        public ETLXmlOptions(string xml) : base()
        {
            ETLOptions options = Parser.Parser.DeserializeXML <ETLOptions>(xml);

            WorkFoldersOptions = options.WorkFoldersOptions;
            LoggerOptions      = options.LoggerOptions;
            ArchivationOptions = options.ArchivationOptions;
            EncryptionOptions  = options.EncryptionOptions;

            Validation.Validate(this);
        }
Пример #2
0
        public ETLJsonOptions(string json) : base()
        {
            ETLOptions options = Parser.Parser.DeserializeJson <ETLOptions>(json);

            WorkFoldersOptions = options.WorkFoldersOptions;
            LoggerOptions      = options.LoggerOptions;
            ArchivationOptions = options.ArchivationOptions;
            EncryptionOptions  = options.EncryptionOptions;

            Validation.Validate(this);
        }