Compartilhar via


ConstructorInfoWrapper Class

Definition

Provides extra properties for the ConstructorInfo class.

public ref class ConstructorInfoWrapper : System::Reflection::ConstructorInfo
public class ConstructorInfoWrapper : System.Reflection.ConstructorInfo
type ConstructorInfoWrapper = class
    inherit ConstructorInfo
Public Class ConstructorInfoWrapper
Inherits ConstructorInfo
Inheritance
ConstructorInfoWrapper

Constructors

ConstructorInfoWrapper(ConstructorInfo, Type)

Instantiates a new instance of ConstructorInfoWrapper.

Properties

Attributes

Gets the attributes of this method.

CallingConvention

Gets the calling conventions for this method.

ContainsGenericParameters

Determines whether this method has generic parameters.

DeclaringType

Gets the type that declares this method.

IsGenericMethodDefinition

Determines whether this is a generic method definition.

MemberType

Gets a MemberTypes value indicating that this is a constructor.

MetadataToken

Gets the ID of the metadata element.

MethodHandle

Gets a handle to the internal metadata representation of a method.

Module

Gets the module in which the type that declares the member represented by the current MemberInfo is defined.

Name

Gets the name of this method.

ReflectedType

Gets the type of the class that was used to get this method.

UnderlyingConstructor

Gets this ConstructorInfo.

Methods

Equals(Object)

Determines whether this instance is the same as the specified object.

GetCustomAttributes(Boolean)

Gets all the custom attributes applied to this member.

GetCustomAttributes(Type, Boolean)

Gets all the custom attributes applied to this member of the specified type.

GetCustomAttributesData()

Gets the data for the attributes that have been applied to this method.

GetGenericArguments()

Gets the type arguments of a generic method or the type parameters of a generic method definition.

GetHashCode()

Gets the hash code for this instance.

GetMethodBody()

Gets a MethodBody object that provides access to the MSIL stream, local variables, and exceptions for this method.

GetMethodImplementationFlags()

Gets the method implementation attributes.

GetParameters()

Gets the parameters of this method.

Invoke(BindingFlags, Binder, Object[], CultureInfo)

Invokes the constructor with the specified parameters.

Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

Invokes the constructor with the specified parameters.

IsDefined(Type, Boolean)

Determines whether one or more attributes of the specified type or of its derived types is applied to this member.

ToString()

Returns a string that represents the current object.

Applies to