Skip to content

Property Class ​

Definition ​

Describes a property to be emitted on a generated dynamic type.

  • Namespace: JASE.Reflection
  • Assembly: JASE.ReflectionTools.dll

Constructors ​

NameDescription
Property()Initializes a new empty property descriptor.
Property(string name, Type type)Initializes a new property descriptor with the specified name and type.

Properties ​

NameDescription
AttributesCustom attributes to apply to the emitted property.
NameThe property name to emit on the generated type.
TypeThe 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