Edit

Share via


IProviderConfiguration Interface

Definition

Configuration information that a provider receives

public interface IProviderConfiguration
type IProviderConfiguration = interface
Public Interface IProviderConfiguration
Derived

Properties

Children

Nested providers in case of a hierarchical tree of dependencies

Name

Name of this provider.

Properties

Configuration properties for this provider instance, as name-value pairs.

Type

Full type name of this provider.

Methods

AddChildConfiguration(IProviderConfiguration)
RemoveProperty(String)

Removes a property in this provider configuration.

SetProperty(String, String)

Set a property in this provider configuration. If the property with this key already exists, it is been overwritten with the new value, otherwise it is just added.

Extension Methods

GetBoolProperty(IProviderConfiguration, String, Boolean)
GetEnumProperty<T>(IProviderConfiguration, String, T)
GetGuidProperty(IProviderConfiguration, String, Guid)
GetIntProperty(IProviderConfiguration, String, Int32)
GetProperty(IProviderConfiguration, String, String)
GetTimeSpanProperty(IProviderConfiguration, String, TimeSpan)
GetTypeProperty(IProviderConfiguration, String, Type)
TryGetDoubleProperty(IProviderConfiguration, String, Double)
TryGetTimeSpanProperty(IProviderConfiguration, String, TimeSpan)

Applies to