private Configure ( LoggingSection section ) : void | ||
section | LoggingSection | |
리턴 | void |
internal RootConfig() { Logging = new LoggingConfig(); DynamoDB = new DynamoDBConfig(); S3 = new S3Config(); EC2 = new EC2Config(); Proxy = new ProxyConfig(); EndpointDefinition = AWSConfigs._endpointDefinition; Region = AWSConfigs._awsRegion; ProfileName = AWSConfigs._awsProfileName; ProfilesLocation = AWSConfigs._awsAccountsLocation; #if !WIN_RT && !WINDOWS_PHONE var root = AWSConfigs.GetSection<AWSSection>(_rootAwsSectionName); Logging.Configure(root.Logging); DynamoDB.Configure(root.DynamoDB); S3.Configure(root.S3); EC2.Configure(root.EC2); Proxy.Configure(root.Proxy); EndpointDefinition = Choose(EndpointDefinition, root.EndpointDefinition); Region = Choose(Region, root.Region); ProfileName = Choose(ProfileName, root.ProfileName); ProfilesLocation = Choose(ProfilesLocation, root.ProfilesLocation); #endif }
internal RootConfig() { Logging = new LoggingConfig(); DynamoDB = new DynamoDBConfig(); S3 = new S3Config(); EC2 = new EC2Config(); Proxy = new ProxyConfig(); EndpointDefinition = AWSConfigs._endpointDefinition; Region = AWSConfigs._awsRegion; ProfileName = AWSConfigs._awsProfileName; ProfilesLocation = AWSConfigs._awsAccountsLocation; #if !WIN_RT && !WINDOWS_PHONE var root = AWSConfigs.GetSection <AWSSection>(_rootAwsSectionName); Logging.Configure(root.Logging); DynamoDB.Configure(root.DynamoDB); S3.Configure(root.S3); EC2.Configure(root.EC2); Proxy.Configure(root.Proxy); EndpointDefinition = Choose(EndpointDefinition, root.EndpointDefinition); Region = Choose(Region, root.Region); ProfileName = Choose(ProfileName, root.ProfileName); ProfilesLocation = Choose(ProfilesLocation, root.ProfilesLocation); #endif }