public UpdateOrdersAndInventoryConfigSection()
 {
     AccountSettings = new ConfigItemString("Location to get account settings.", string.Empty);
     OutputFolder = new ConfigItemString("The base output folder for storing the files.", string.Empty);
     OrderItemDelayMs = new ConfigItemInteger("Delay in between each Order Item request to handle throttling.", 2100);
     ReportGenerationTimeOutMin = new ConfigItemInteger("How long to wait before throwing timeout exceeded for Amz Report Generation", 10);
     SendEmail = new ConfigItemBoolean("Whether should send emails for progress.", false);
     AutoClose = new ConfigItemBoolean("Whether should auto close when done updating.", true);
     EmailUserFromAddress = new ConfigItemString("Email User From Name.", string.Empty);
     EmailUserToAddress = new ConfigItemString("Email User To Name.", string.Empty);
     EncryptedEmailPassword = new ConfigItemString("Email Password Encrypted.", string.Empty);
     EncryptedPassage = new ConfigItemString("Passage Encrypted", string.Empty);
     EncryptedDirection = new ConfigItemString("Direction Encrypted.", string.Empty);
 }
        public AccountSettingsConfigSection()
        {
            Jk529_accessKey = new ConfigItemString("Account settings.", string.Empty);
            Jk529_secretKey = new ConfigItemString("Account settings.", string.Empty);
            Jk529_sellerId = new ConfigItemString("Account settings.", string.Empty);
            Jk529_marketplaceId = new ConfigItemString("Account settings.", string.Empty);

            Rst_accessKey = new ConfigItemString("Account settings.", string.Empty);
            Rst_secretKey = new ConfigItemString("Account settings.", string.Empty);
            Rst_sellerId = new ConfigItemString("Account settings.", string.Empty);
            Rst_marketplaceId = new ConfigItemString("Account settings.", string.Empty);

            Ca_accountIdRst = new ConfigItemString("Account settings.", string.Empty);
            Ca_accountIdSDeal = new ConfigItemString("Account settings.", string.Empty);
            Ca_developerKey = new ConfigItemString("Account settings.", string.Empty);
            Ca_password = new ConfigItemString("Account settings.", string.Empty);
        }
예제 #3
0
파일: Store.cs 프로젝트: abelsilva/nugetory
        public void Start()
        {
            _log.Submit(LogLevel.Info, "Initializing configuration store");

            ConfigurationParser = Loader.Initialize();
            if (ConfigurationParser != null)
            {
                ConfigurationFilename = ConfigurationParser.INIFilePath;
                _log.Submit(LogLevel.Info, "Using configuration file " + ConfigurationFilename);
            }

            LoggingLevel = new ConfigItemInt(ConfigurationParser, ConfigDefaults.LoggingLevel);

            ServerPort = new ConfigItemInt(ConfigurationParser, ConfigDefaults.ServerPort);

            ApiKey = new ConfigItemString(ConfigurationParser, ConfigDefaults.ApiKey);

            DatabaseFile = new ConfigItemString(ConfigurationParser, ConfigDefaults.DatabaseFile);
            DatabasePackagesDirectory = new ConfigItemString(ConfigurationParser,
                                                             ConfigDefaults.DatabasePackagesDirectory);

            _log.Submit(LogLevel.Info, "Configuration store initialized");
        }