C# Class FastMember.ObjectAccessor

Represents an individual object, allowing access to members by-name
Afficher le fichier Open project: mgravell/fast-member Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Create() public static méthode

Wraps an individual object, allowing by-name access to that instance
public static Create ( object target ) : ObjectAccessor
target object
Résultat ObjectAccessor

Create() public static méthode

Wraps an individual object, allowing by-name access to that instance
public static Create ( object target, bool allowNonPublicAccessors ) : ObjectAccessor
target object
allowNonPublicAccessors bool
Résultat ObjectAccessor

Equals() public méthode

Use the target types definition of equality
public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

Obtain the hash of the target object
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Use the target's definition of a string representation
public ToString ( ) : string
Résultat string

this() public abstract méthode

Get or Set the value of a named member for the underlying object
public abstract this ( string name ) : object
name string
Résultat object