Editar

Compartilhar via


LazyMemberInfo Constructors

Definition

Initializes a new instance of the LazyMemberInfo class.

Overloads

LazyMemberInfo(MemberInfo)

Initializes a new instance of the LazyMemberInfo class, representing the specified member.

LazyMemberInfo(MemberTypes, Func<MemberInfo[]>)

Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

LazyMemberInfo(MemberTypes, MemberInfo[])

Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

LazyMemberInfo(MemberInfo)

Source:
LazyMemberInfo.cs
Source:
LazyMemberInfo.cs
Source:
LazyMemberInfo.cs

Initializes a new instance of the LazyMemberInfo class, representing the specified member.

public:
 LazyMemberInfo(System::Reflection::MemberInfo ^ member);
public LazyMemberInfo (System.Reflection.MemberInfo member);
new System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo : System.Reflection.MemberInfo -> System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo
Public Sub New (member As MemberInfo)

Parameters

member
MemberInfo

The member to represent.

Applies to

LazyMemberInfo(MemberTypes, Func<MemberInfo[]>)

Source:
LazyMemberInfo.cs
Source:
LazyMemberInfo.cs
Source:
LazyMemberInfo.cs

Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

public:
 LazyMemberInfo(System::Reflection::MemberTypes memberType, Func<cli::array <System::Reflection::MemberInfo ^> ^> ^ accessorsCreator);
public LazyMemberInfo (System.Reflection.MemberTypes memberType, Func<System.Reflection.MemberInfo[]> accessorsCreator);
new System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo : System.Reflection.MemberTypes * Func<System.Reflection.MemberInfo[]> -> System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo
Public Sub New (memberType As MemberTypes, accessorsCreator As Func(Of MemberInfo()))

Parameters

memberType
MemberTypes

The type of the represented member.

accessorsCreator
Func<MemberInfo[]>

A function whose return value is a collection of the accessors for the represented member.

Applies to

LazyMemberInfo(MemberTypes, MemberInfo[])

Source:
LazyMemberInfo.cs
Source:
LazyMemberInfo.cs
Source:
LazyMemberInfo.cs

Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

public:
 LazyMemberInfo(System::Reflection::MemberTypes memberType, ... cli::array <System::Reflection::MemberInfo ^> ^ accessors);
public LazyMemberInfo (System.Reflection.MemberTypes memberType, params System.Reflection.MemberInfo[] accessors);
new System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo : System.Reflection.MemberTypes * System.Reflection.MemberInfo[] -> System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo
Public Sub New (memberType As MemberTypes, ParamArray accessors As MemberInfo())

Parameters

memberType
MemberTypes

The type of the represented member.

accessors
MemberInfo[]

An array of the accessors for the represented member.

Exceptions

One or more of the objects in accessors are not valid accessors for this member.

Applies to