Show / Hide Table of Contents

Class DefaultSettingsProviderSelector

A default settings provider selector.

Inheritance
System.Object
DefaultSettingsProviderSelector
Implements
ISettingsProviderSelector
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 Source

DefaultSettingsProviderSelector(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 Source

GetProvider(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.

Implements

ISettingsProviderSelector

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX