Class DefaultSettingsProviderSelector
A default settings provider selector.
Inheritance
System.Object
DefaultSettingsProviderSelector
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Configuration.Providers
Assembly: Kephas.Core.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultSettingsProviderSelector : ISettingsProviderSelector
Constructors
| Improve this Doc View SourceDefaultSettingsProviderSelector(ICollection<IExportFactory<ISettingsProvider, SettingsProviderMetadata>>)
Initializes a new instance of the DefaultSettingsProviderSelector class.
Declaration
public DefaultSettingsProviderSelector(ICollection<IExportFactory<ISettingsProvider, SettingsProviderMetadata>> providerFactories)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<IExportFactory<ISettingsProvider, SettingsProviderMetadata>> | providerFactories | The provider factories. |
Methods
| Improve this Doc View SourceGetProvider(Type)
Gets the provider handling a specific settings type.
Declaration
public ISettingsProvider GetProvider(Type settingsType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | settingsType | Type of the settings. |
Returns
Type | Description |
---|---|
ISettingsProvider | The provider. |