This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
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.
Inheritance Hierarchy
System.Object
  PostSharp.Reflection.ObjectConstruction

Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public sealed class ObjectConstruction

The ObjectConstruction type exposes the following members.

Constructors
  NameDescription
Public methodObjectConstruction(CustomAttributeData)
Initializes a new type-safe ObjectConstruction from a CustomAttributeData
Public methodObjectConstruction(ConstructorInfo, Object[])
Initializes a new type-safe ObjectConstruction from a ConstructorInfo.
Public methodObjectConstruction(String, Object[])
Initializes a new ObjectConstruction by specifying a type name and a list of constructor arguments.
Public methodObjectConstruction(Type, Object[])
Initializes a new ObjectConstruction by specifying a type name and a list of constructor arguments.
Top
Properties
  NameDescription
Public propertyConstructor
Gets the custom attribute constructor.
Public propertyConstructorArguments
Gets the arguments passed to the custom attribute constructor.
Public propertyNamedArguments
Gets the collection of named arguments.
Public propertyTypeName
Gets the assembly-qualified type name of the object.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also