C# Class Microsoft.Scripting.Actions.OperatorInfo

OperatorInfo provides a mapping from DLR ExpressionType to their associated .NET methods.
Show file Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
GetOperatorInfo ( ExpressionType op ) : OperatorInfo

Given an operator returns the OperatorInfo associated with the operator or null

GetOperatorInfo ( string name ) : OperatorInfo

Private Methods

Method Description
MakeOperatorTable ( ) : OperatorInfo>.Dictionary
OperatorInfo ( ExpressionType op, string name, string altName ) : System.Linq.Expressions

Method Details

GetOperatorInfo() public static method

Given an operator returns the OperatorInfo associated with the operator or null
public static GetOperatorInfo ( ExpressionType op ) : OperatorInfo
op ExpressionType
return OperatorInfo

GetOperatorInfo() public static method

public static GetOperatorInfo ( string name ) : OperatorInfo
name string
return OperatorInfo