C# 클래스 FastMember.TypeAccessor

Provides by-name member-access to objects of a given type
파일 보기 프로젝트 열기: mgravell/fast-member 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Type type ) : TypeAccessor

Provides a type-specific accessor, allowing by-name access for all objects of that type

The accessor is cached internally; a pre-existing accessor may be returned

Create ( Type type, bool allowNonPublicAccessors ) : TypeAccessor

Provides a type-specific accessor, allowing by-name access for all objects of that type

The accessor is cached internally; a pre-existing accessor may be returned

CreateNew ( ) : object

Create a new instance of this type

GetMembers ( ) : MemberSet

Query the members available for this type

this ( object target, string name ) : object

Get or set the value of a named member on the target instance

비공개 메소드들

메소드 설명
Cast ( ILGenerator il, Type type, bool valueAsPointer ) : void
CreateNew ( Type type, bool allowNonPublicAccessors ) : TypeAccessor
GetNextCounterValue ( ) : int
IsFullyPublic ( Type type, PropertyInfo props, bool allowNonPublicAccessors ) : bool
WriteMapImpl ( ILGenerator il, Type type, List members, FieldBuilder mapField, bool allowNonPublicAccessors, bool isGet ) : void

메소드 상세

Create() 공개 정적인 메소드

Provides a type-specific accessor, allowing by-name access for all objects of that type
The accessor is cached internally; a pre-existing accessor may be returned
public static Create ( Type type ) : TypeAccessor
type System.Type
리턴 TypeAccessor

Create() 공개 정적인 메소드

Provides a type-specific accessor, allowing by-name access for all objects of that type
The accessor is cached internally; a pre-existing accessor may be returned
public static Create ( Type type, bool allowNonPublicAccessors ) : TypeAccessor
type System.Type
allowNonPublicAccessors bool
리턴 TypeAccessor

CreateNew() 공개 메소드

Create a new instance of this type
public CreateNew ( ) : object
리턴 object

GetMembers() 공개 메소드

Query the members available for this type
public GetMembers ( ) : MemberSet
리턴 MemberSet

this() 공개 추상적인 메소드

Get or set the value of a named member on the target instance
public abstract this ( object target, string name ) : object
target object
name string
리턴 object