C# Class Microsoft.CSharp.RuntimeBinder.CSharpIsEventBinder

Used to test whether a dynamic member over which += or -= is used is an event member.
Inheritance: System.Dynamic.DynamicMetaObjectBinder
Show file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

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

CSharpIsEventBinder ( string name, Type callingContext ) : System

Initializes a new instance of the CSharpIsEventBinder class.

Method Details

Bind() public final method

Performs the binding of the binary dynamic operation if the target dynamic object cannot bind.
public final Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target System.Dynamic.DynamicMetaObject The target of the dynamic binary operation.
args System.Dynamic.DynamicMetaObject The arguments to the dynamic event test.
return System.Dynamic.DynamicMetaObject

CSharpIsEventBinder() public method

Initializes a new instance of the CSharpIsEventBinder class.
public CSharpIsEventBinder ( string name, Type callingContext ) : System
name string The name of the member to test.
callingContext System.Type The that indicates where this operation is defined.
return System