ProviderInterfaceAttribute Class |
Attribute specifying a custom provider interface to be associated with an implementation of AbstractInfoProviderTInfo, TProvider.
The system registers the info provider implementation under the IInfoProviderTInfo interface into the IoC container as part of the RegisterObjectType(String, ObjectTypeInfo, Type, Boolean) method.
Declare a custom provider interface whenever the default IInfoProviderTInfo interface does not suit the provider needs. The system registers the info provider under the custom interface as well.
Namespace: CMS.DataEngine
public sealed class ProviderInterfaceAttribute : Attribute
The ProviderInterfaceAttribute type exposes the following members.
Name | Description | |
---|---|---|
ProviderInterfaceAttribute |
Initializes a new instance of the ProviderInterfaceAttribute class using the providerInterface given.
|
Name | Description | |
---|---|---|
ProviderInterface |
Gets the provider interface to be associated with provider implementation.
|