Appearance
Property Class
Definition
Describes a property to be emitted on a generated dynamic type.
- Namespace:
JASE.Reflection - Assembly:
JASE.ReflectionTools.dll
Constructors
| Name | Description |
|---|---|
Property() | Initializes a new empty property descriptor. |
Property(string name, Type type) | Initializes a new property descriptor with the specified name and type. |
Properties
| Name | Description |
|---|---|
Attributes | Custom attributes to apply to the emitted property. |
Name | The property name to emit on the generated type. |
Type | The property type to emit on the generated type. |
Remarks
Each Property becomes: A private backing field named _{name}A public property named {name} of type {type}Optional custom attributes applied to the emitted property