C# Class Microsoft.CSharp.RuntimeBinder.CSharpGetMemberBinder

Represents a dynamic property access in C#, providing the binding semantics and the details about the operation. Instances of this class are generated by the C# compiler.
Inheritance: System.Dynamic.GetMemberBinder, IInvokeOnGetBinder
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CSharpGetMemberBinder ( string name, bool resultIndexed, Type callingContext, IEnumerable argumentInfo ) : System

Initializes a new instance of the CSharpGetMemberBinder.

FallbackGetMember ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

Performs the binding of the dynamic get member operation if the target dynamic object cannot bind.

Method Details

CSharpGetMemberBinder() public méthode

Initializes a new instance of the CSharpGetMemberBinder.
public CSharpGetMemberBinder ( string name, bool resultIndexed, Type callingContext, IEnumerable argumentInfo ) : System
name string The name of the member to get.
resultIndexed bool Determines if COM binder should return a callable object.
callingContext System.Type The that indicates where this operation is defined.
argumentInfo IEnumerable The sequence of instances for the arguments to this operation.
Résultat System

FallbackGetMember() public méthode

Performs the binding of the dynamic get member operation if the target dynamic object cannot bind.
public FallbackGetMember ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target System.Dynamic.DynamicMetaObject The target of the dynamic get member operation.
errorSuggestion System.Dynamic.DynamicMetaObject The binding result to use if binding fails, or null.
Résultat System.Dynamic.DynamicMetaObject