ObjectConstruction Class |
Specifies how an object should be constructed, i.e. specifies the constructor to be
used, the arguments to be passed to this constructor, and the fields or properties to
be set.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public sealed class ObjectConstruction
The ObjectConstruction type exposes the following members.
Name | Description | |
---|---|---|
ObjectConstruction(CustomAttributeData) |
Initializes a new type-safe ObjectConstruction from a CustomAttributeData | |
ObjectConstruction(ConstructorInfo, Object[]) |
Initializes a new type-safe ObjectConstruction from a ConstructorInfo.
| |
ObjectConstruction(String, Object[]) |
Initializes a new ObjectConstruction by specifying a type name and a list of constructor arguments.
| |
ObjectConstruction(Type, Object[]) |
Initializes a new ObjectConstruction by specifying a type name and a list of constructor arguments.
|
Name | Description | |
---|---|---|
Constructor |
Gets the custom attribute constructor.
| |
ConstructorArguments |
Gets the arguments passed to the custom attribute constructor.
| |
NamedArguments |
Gets the collection of named arguments.
| |
TypeName |
Gets the assembly-qualified type name of the object.
|