示例#1
0
        static void Main(string[] args)
        {
            IConfigurationFactory configFactory = new AppConfigConfigurationFactory();
            // IConfigurationFactory configFactory = new DynamoDBConfigurationFactory();

            IApiSettings           apiSettings           = configFactory.GetApiSettings();
            IFeedSettings          feedSettings          = configFactory.GetFeedSettings();
            IFeedServiceSettings   feedServiceSettings   = configFactory.GetFeedServiceSettings();
            IS3PublisherSettings   s3PublishSettings     = configFactory.GetS3PublisherSettings();
            IOfflineClientSettings offlineClientSettings = configFactory.GetOfflineClientSettings();
        }
示例#2
0
        static void Main(string[] args)
        {
            IConfigurationFactory configFactory = new AppConfigConfigurationFactory();
            // IConfigurationFactory configFactory = new DynamoDBConfigurationFactory();

            IApiSettings apiSettings = configFactory.GetApiSettings();
            IFeedSettings feedSettings = configFactory.GetFeedSettings();
            IFeedServiceSettings feedServiceSettings = configFactory.GetFeedServiceSettings();
            IS3PublisherSettings s3PublishSettings = configFactory.GetS3PublisherSettings();
            IOfflineClientSettings offlineClientSettings = configFactory.GetOfflineClientSettings();
        }