Skip to content

RegisterProviderAttribute Constructors

When applied to a type, indicates that the type is a provider and that it should be automatically registered.

RegisterProviderAttribute(string, string, string, Type)

View source
public RegisterProviderAttribute(string name, string kind, string target, Type type)
When applied to a type, indicates that the type is a provider and that it should be automatically registered.

Parameters

namestring
The provider name, for example, "AzureTableStorage".
kindstring
The kind of provider, for example, "Clustering", "Reminders".
targetstring
The intended target of the provider, for example, "Server", "Client".
typeType