Class ParameterProviderFor
Annotates a class as a provider of parameters for a specific component type. The class should implement IParameterProvider, and expose a public constructor taking an argument with the type of the ForType argument here. This constructor will be invoked when querying a component's parameters.
[AttributeUsage(AttributeTargets.Class)]
public sealed class ParameterProviderFor : Attribute
- Inheritance
-
ParameterProviderFor
- Inherited Members
Constructors
ParameterProviderFor(Type)
public ParameterProviderFor(Type forType)
Parameters
forType
Type
Properties
ForType
public Type ForType { get; }