public override void Load()
        {
            var builder = new CloudConfigurationManagerOptionsBuilder();

            _configure(builder);
            _options = builder.Options;
            foreach (var key in _options.SettingKeys)
            {
                var value = CloudConfigurationManager.GetSetting(key);
                if (string.IsNullOrWhiteSpace(value))
                {
                    continue;
                }
                Data[key] = value;
            }
            base.Load();
        }
コード例 #2
0
 public CloudConfigurationManagerOptionsBuilder()
 {
     Options = new CloudConfigurationManagerOptions();
 }