C# Class XSpect.Yacq.Dynamic.YacqBinder

Contains factory methods to create dynamic call site binders.
Datei anzeigen Open project: takeshik/yacq

Public Methods

Method Description
BinaryOperation ( ExpressionType operation ) : BinaryOperationBinder

Initializes a new binary operation binder.

BinaryOperation ( SymbolTable symbols, ExpressionType operation ) : BinaryOperationBinder

Initializes a new binary operation binder.

Convert ( SymbolTable symbols, Type type ) : ConvertBinder

Initializes a new convert binder.

Convert ( Type type ) : ConvertBinder

Initializes a new convert binder.

GetIndex ( ) : GetIndexBinder

Initializes a new get index binder.

GetIndex ( IEnumerable argumentNames ) : GetIndexBinder

Initializes a new get index binder.

GetIndex ( SymbolTable symbols ) : GetIndexBinder

Initializes a new get index binder.

GetIndex ( SymbolTable symbols, IEnumerable argumentNames ) : GetIndexBinder

Initializes a new get index binder.

GetMember ( String name ) : GetMemberBinder

Initializes a new get member binder.

GetMember ( SymbolTable symbols, String name ) : GetMemberBinder

Initializes a new get member binder.

Invoke ( ) : InvokeBinder

Initializes a new invoke binder.

Invoke ( IEnumerable argumentNames ) : InvokeBinder

Initializes a new invoke binder.

Invoke ( SymbolTable symbols ) : InvokeBinder

Initializes a new invoke binder.

Invoke ( SymbolTable symbols, IEnumerable argumentNames ) : InvokeBinder

Initializes a new invoke binder.

InvokeMember ( String name ) : InvokeMemberBinder

Initializes a new invoke member binder.

InvokeMember ( String name, IEnumerable argumentNames ) : InvokeMemberBinder

Initializes a new invoke member binder.

InvokeMember ( SymbolTable symbols, String name ) : InvokeMemberBinder

Initializes a new invoke member binder.

InvokeMember ( SymbolTable symbols, String name, IEnumerable argumentNames ) : InvokeMemberBinder

Initializes a new invoke member binder.

SetIndex ( ) : SetIndexBinder

Initializes a new set index binder.

SetIndex ( IEnumerable argumentNames ) : SetIndexBinder

Initializes a new set index binder.

SetIndex ( SymbolTable symbols ) : SetIndexBinder

Initializes a new set index binder.

SetIndex ( SymbolTable symbols, IEnumerable argumentNames ) : SetIndexBinder

Initializes a new set index binder.

SetMember ( String name ) : SetMemberBinder

Initializes a new set member binder.

SetMember ( SymbolTable symbols, String name ) : SetMemberBinder

Initializes a new set member binder.

UnaryOperation ( ExpressionType operation ) : UnaryOperationBinder

Initializes a new unary operation binder.

UnaryOperation ( SymbolTable symbols, ExpressionType operation ) : UnaryOperationBinder

Initializes a new unary operation binder.

Private Methods

Method Description
IsInDynamicContext ( SymbolTable symbols ) : System.Boolean
IsInDynamicContext ( SymbolTable symbols, Expression expression ) : System.Boolean
IsInDynamicContext ( SymbolTable symbols, IEnumerable expressions ) : Boolean

Method Details

BinaryOperation() public static method

Initializes a new binary operation binder.
public static BinaryOperation ( ExpressionType operation ) : BinaryOperationBinder
operation ExpressionType The binary operation kind.
return System.Dynamic.BinaryOperationBinder

BinaryOperation() public static method

Initializes a new binary operation binder.
public static BinaryOperation ( SymbolTable symbols, ExpressionType operation ) : BinaryOperationBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
operation ExpressionType The binary operation kind.
return System.Dynamic.BinaryOperationBinder

Convert() public static method

Initializes a new convert binder.
public static Convert ( SymbolTable symbols, Type type ) : ConvertBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
type System.Type The type to convert to.
return System.Dynamic.ConvertBinder

Convert() public static method

Initializes a new convert binder.
public static Convert ( Type type ) : ConvertBinder
type System.Type The type to convert to.
return System.Dynamic.ConvertBinder

GetIndex() public static method

Initializes a new get index binder.
public static GetIndex ( ) : GetIndexBinder
return System.Dynamic.GetIndexBinder

GetIndex() public static method

Initializes a new get index binder.
public static GetIndex ( IEnumerable argumentNames ) : GetIndexBinder
argumentNames IEnumerable The sequence of argument names for this operation.
return System.Dynamic.GetIndexBinder

GetIndex() public static method

Initializes a new get index binder.
public static GetIndex ( SymbolTable symbols ) : GetIndexBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
return System.Dynamic.GetIndexBinder

GetIndex() public static method

Initializes a new get index binder.
public static GetIndex ( SymbolTable symbols, IEnumerable argumentNames ) : GetIndexBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
argumentNames IEnumerable The sequence of argument names for this operation.
return System.Dynamic.GetIndexBinder

GetMember() public static method

Initializes a new get member binder.
public static GetMember ( String name ) : GetMemberBinder
name String The name of the member to get.
return System.Dynamic.GetMemberBinder

GetMember() public static method

Initializes a new get member binder.
public static GetMember ( SymbolTable symbols, String name ) : GetMemberBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
name String The name of the member to get.
return System.Dynamic.GetMemberBinder

Invoke() public static method

Initializes a new invoke binder.
public static Invoke ( ) : InvokeBinder
return System.Dynamic.InvokeBinder

Invoke() public static method

Initializes a new invoke binder.
public static Invoke ( IEnumerable argumentNames ) : InvokeBinder
argumentNames IEnumerable The sequence of argument names for this operation.
return System.Dynamic.InvokeBinder

Invoke() public static method

Initializes a new invoke binder.
public static Invoke ( SymbolTable symbols ) : InvokeBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
return System.Dynamic.InvokeBinder

Invoke() public static method

Initializes a new invoke binder.
public static Invoke ( SymbolTable symbols, IEnumerable argumentNames ) : InvokeBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
argumentNames IEnumerable The sequence of argument names for this operation.
return System.Dynamic.InvokeBinder

InvokeMember() public static method

Initializes a new invoke member binder.
public static InvokeMember ( String name ) : InvokeMemberBinder
name String The name of the member to invoke.
return System.Dynamic.InvokeMemberBinder

InvokeMember() public static method

Initializes a new invoke member binder.
public static InvokeMember ( String name, IEnumerable argumentNames ) : InvokeMemberBinder
name String The name of the member to invoke.
argumentNames IEnumerable The sequence of argument names for this operation.
return System.Dynamic.InvokeMemberBinder

InvokeMember() public static method

Initializes a new invoke member binder.
public static InvokeMember ( SymbolTable symbols, String name ) : InvokeMemberBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
name String The name of the member to invoke.
return System.Dynamic.InvokeMemberBinder

InvokeMember() public static method

Initializes a new invoke member binder.
public static InvokeMember ( SymbolTable symbols, String name, IEnumerable argumentNames ) : InvokeMemberBinder
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the binder.
name String The name of the member to invoke.
argumentNames IEnumerable The sequence of argument names for this operation.
return System.Dynamic.InvokeMemberBinder

SetIndex() public static method

Initializes a new set index binder.
public static SetIndex ( ) : SetIndexBinder
return SetIndexBinder

SetIndex() public static method

Initializes a new set index binder.
public static SetIndex ( IEnumerable argumentNames ) : SetIndexBinder
argumentNames IEnumerable The sequence of argument names for this operation.
return SetIndexBinder

SetIndex() public static method

Initializes a new set index binder.
public static SetIndex ( SymbolTable symbols ) : SetIndexBinder
symbols SymbolTable The symbol table for the binder.
return SetIndexBinder

SetIndex() public static method

Initializes a new set index binder.
public static SetIndex ( SymbolTable symbols, IEnumerable argumentNames ) : SetIndexBinder
symbols SymbolTable The symbol table for the binder.
argumentNames IEnumerable The sequence of argument names for this operation.
return SetIndexBinder

SetMember() public static method

Initializes a new set member binder.
public static SetMember ( String name ) : SetMemberBinder
name String The name of the member to set.
return SetMemberBinder

SetMember() public static method

Initializes a new set member binder.
public static SetMember ( SymbolTable symbols, String name ) : SetMemberBinder
symbols SymbolTable The symbol table for the binder.
name String The name of the member to set.
return SetMemberBinder

UnaryOperation() public static method

Initializes a new unary operation binder.
public static UnaryOperation ( ExpressionType operation ) : UnaryOperationBinder
operation ExpressionType The unary operation kind.
return UnaryOperationBinder

UnaryOperation() public static method

Initializes a new unary operation binder.
public static UnaryOperation ( SymbolTable symbols, ExpressionType operation ) : UnaryOperationBinder
symbols SymbolTable The symbol table for the binder.
operation ExpressionType The unary operation kind.
return UnaryOperationBinder