C# Class Microsoft.CSharp.RuntimeBinder.CSharpSetMemberBinder

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.SetMemberBinder
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CSharpSetMemberBinder ( string name, bool isCompoundAssignment, bool isChecked, Type callingContext, IEnumerable argumentInfo ) : System

Initializes a new instance of the SetMemberBinder.

FallbackSetMember ( DynamicMetaObject target, DynamicMetaObject value, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

Method Details

CSharpSetMemberBinder() public méthode

Initializes a new instance of the SetMemberBinder.
public CSharpSetMemberBinder ( string name, bool isCompoundAssignment, bool isChecked, Type callingContext, IEnumerable argumentInfo ) : System
name string The name of the member to get.
isCompoundAssignment bool True if the assignment comes from a compound assignment in source.
isChecked bool
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

FallbackSetMember() public méthode

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