/// <summary> /// Use ConfigResolutionEnum.OverwriteRemoteWithLocal /// </summary> /// <param name="configKey">Key in configuration store whose value will be retireved. Note: May use any of the standard {config} meta tags</param> /// <param name="resolution">Determines tie breaking rules if key is discovered in both remote store and local .config</param> public ConfigSettingAttribute(string configKey, ConfigScopeEnumeration resolution) : this(configKey, null, resolution) { }
/// <summary> /// Use ConfigResolutionEnum.OverwriteRemoteWithLocal /// </summary> /// <param name="configKey">Key in configuration store whose value will be retireved. Note: May use any of the standard {config} meta tags</param> /// <param name="resolution">Determines tie breaking rules if key is discovered in both remote store and local .config</param> public ConfigSettingAttribute(string configKey, ConfigScopeEnumeration resolution):this(configKey, null,resolution) { }
/// <summary> /// Use ConfigResolutionEnum.OverwriteRemoteWithLocal /// </summary> /// <param name="configKey">Key in configuration store whose value will be retireved. Note: May use any of the standard {config} meta tags</param> /// <param name="defaultValue">Value to use if <paramref name="configKey"/> cannot be found</param> /// <param name="resolution">Determines tie breaking rules if key is discovered in both remote store and local .config</param> public ConfigSettingAttribute(string configKey, string defaultValue, ConfigScopeEnumeration resolution) { ConfigKey = configKey; KeyResolution = resolution; DefaultValue = defaultValue; }
/// <summary> /// Use ConfigResolutionEnum.OverwriteRemoteWithLocal /// </summary> /// <param name="configKey">Key in configuration store whose value will be retireved. Note: May use any of the standard {config} meta tags</param> /// <param name="defaultValue">Value to use if <paramref name="configKey"/> cannot be found</param> /// <param name="resolution">Determines tie breaking rules if key is discovered in both remote store and local .config</param> public ConfigSettingAttribute(string configKey, string defaultValue,ConfigScopeEnumeration resolution) { ConfigKey = configKey; KeyResolution = resolution; DefaultValue = defaultValue; }