HostConfigProviderAttribute Class

Definition

Identifies the IHostConfigProvider implementation to use for providing the initial host-specific service configuration. There can only be one such instance active at a time and typically it is provided by the host directly. Users can use the ConfigBuilder class as a mechanism for adding or modifying the service configuration provided by the host.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false)]
public sealed class HostConfigProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false)>]
type HostConfigProviderAttribute = class
    inherit Attribute
Public NotInheritable Class HostConfigProviderAttribute
Inherits Attribute
Inheritance
HostConfigProviderAttribute
Attributes

Constructors

HostConfigProviderAttribute(Type)

Creates a new instance of the HostConfigProviderAttribute identifying the IHostConfigProvider implementation to use for providing the initial host configuration.

Properties

ConfigProviderType

Gets the IHostConfigProvider used to provide the initial host service configuration.

Applies to