LazyMemberInfo 结构

定义

表示一个 MemberInfo 对象,该对象在请求前不会加载程序集或创建对象。Represents a MemberInfo object that does not load assemblies or create objects until requested.

public value class LazyMemberInfo
public struct LazyMemberInfo
type LazyMemberInfo = struct
Public Structure LazyMemberInfo
继承
LazyMemberInfo

构造函数

LazyMemberInfo(MemberInfo)

初始化 LazyMemberInfo 类的新实例,该实例表示指定的成员。Initializes a new instance of the LazyMemberInfo class, representing the specified member.

LazyMemberInfo(MemberTypes, Func<MemberInfo[]>)

使用指定的访问器初始化指定类型成员的 LazyMemberInfo 类的新实例。Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

LazyMemberInfo(MemberTypes, MemberInfo[])

使用指定的访问器初始化指定类型成员的 LazyMemberInfo 类的新实例。Initializes a new instance of the LazyMemberInfo class for a member of the specified type with the specified accessors.

属性

MemberType

获取所表示的成员的类型。Gets the type of the represented member.

方法

Equals(Object)

指示此实例与指定对象是否相等。Indicates whether this instance and a specified object are equal.

GetAccessors()

获取所表示成员的访问器数组。Gets an array of the accessors for the represented member.

GetHashCode()

返回此实例的哈希代码。Returns the hash code for this instance.

运算符

Equality(LazyMemberInfo, LazyMemberInfo)

确定两个指定的 LazyMemberInfo 对象是否相等。Determines whether the two specified LazyMemberInfo objects are equal.

Inequality(LazyMemberInfo, LazyMemberInfo)

确定两个指定的 LazyMemberInfo 对象是否不相等。Determines whether the two specified LazyMemberInfo objects are not equal.

适用于