C# Класс FastMember.ObjectAccessor

Represents an individual object, allowing access to members by-name
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( object target ) : ObjectAccessor

Wraps an individual object, allowing by-name access to that instance

Create ( object target, bool allowNonPublicAccessors ) : ObjectAccessor

Wraps an individual object, allowing by-name access to that instance

Equals ( object obj ) : bool

Use the target types definition of equality

GetHashCode ( ) : int

Obtain the hash of the target object

ToString ( ) : string

Use the target's definition of a string representation

this ( string name ) : object

Get or Set the value of a named member for the underlying object

Описание методов

Create() публичный статический Метод

Wraps an individual object, allowing by-name access to that instance
public static Create ( object target ) : ObjectAccessor
target object
Результат ObjectAccessor

Create() публичный статический Метод

Wraps an individual object, allowing by-name access to that instance
public static Create ( object target, bool allowNonPublicAccessors ) : ObjectAccessor
target object
allowNonPublicAccessors bool
Результат ObjectAccessor

Equals() публичный Метод

Use the target types definition of equality
public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

Obtain the hash of the target object
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Use the target's definition of a string representation
public ToString ( ) : string
Результат string

this() публичный абстрактный Метод

Get or Set the value of a named member for the underlying object
public abstract this ( string name ) : object
name string
Результат object