Class GeneratePropertyBagsForTypeAttribute
Use this attribute to have the ILPostProcessor generate a property bag for a given type. This attribute works for the specified type ONLY, it does NOT include derived types.
Namespace: Unity.Properties
Syntax
public class GeneratePropertyBagsForTypeAttribute : Attribute
Remarks
If you need to generate property bags for types implementing a specific interface use GeneratePropertyBagsForTypesQualifiedWithAttribute.
Constructors
GeneratePropertyBagsForTypeAttribute(Type)
Initializes a new instance of the GeneratePropertyBagsForTypeAttribute attribute.
Declaration
public GeneratePropertyBagsForTypeAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type to generate a property bag for. |
Fields
Type
The type to generate a property bag for.
Declaration
public readonly Type Type
Field Value
Type | Description |
---|---|
Type |