C# Class CSharpUtils.Templates.Runtime.DynamicUtils

Class to perform operations on dynamic types. Without worrying about exceptions or errors.
Datei anzeigen Open project: soywiz/csharputils Class Usage Examples

Public Methods

Method Description
Access ( dynamic _Value, dynamic _Key ) : dynamic
BinaryOperation_Add ( dynamic Left, dynamic Right ) : dynamic
BinaryOperation_AndBool ( dynamic Left, dynamic Right ) : bool
BinaryOperation_Div ( dynamic Left, dynamic Right ) : dynamic
BinaryOperation_DivInt ( dynamic Left, dynamic Right ) : int
BinaryOperation_Mod ( dynamic Left, dynamic Right ) : dynamic
BinaryOperation_Mul ( dynamic Left, dynamic Right ) : dynamic
BinaryOperation_OrBool ( dynamic Left, dynamic Right ) : bool
BinaryOperation_Pow ( dynamic Left, dynamic Right ) : double
BinaryOperation_Range ( dynamic Start, dynamic End ) : dynamic
BinaryOperation_Sub ( dynamic Left, dynamic Right ) : dynamic
Call ( Type Type, string Method ) : dynamic
ConvertToBool ( dynamic Value ) : bool
ConvertToIEnumerable ( dynamic List ) : dynamic
ConvertToString ( dynamic Value ) : String
CountArray ( dynamic Value ) : int
GetOpName ( string Operation ) : String

Method Details

Access() public static method

public static Access ( dynamic _Value, dynamic _Key ) : dynamic
_Value dynamic
_Key dynamic
return dynamic

BinaryOperation_Add() public static method

public static BinaryOperation_Add ( dynamic Left, dynamic Right ) : dynamic
Left dynamic
Right dynamic
return dynamic

BinaryOperation_AndBool() public static method

public static BinaryOperation_AndBool ( dynamic Left, dynamic Right ) : bool
Left dynamic
Right dynamic
return bool

BinaryOperation_Div() public static method

public static BinaryOperation_Div ( dynamic Left, dynamic Right ) : dynamic
Left dynamic
Right dynamic
return dynamic

BinaryOperation_DivInt() public static method

public static BinaryOperation_DivInt ( dynamic Left, dynamic Right ) : int
Left dynamic
Right dynamic
return int

BinaryOperation_Mod() public static method

public static BinaryOperation_Mod ( dynamic Left, dynamic Right ) : dynamic
Left dynamic
Right dynamic
return dynamic

BinaryOperation_Mul() public static method

public static BinaryOperation_Mul ( dynamic Left, dynamic Right ) : dynamic
Left dynamic
Right dynamic
return dynamic

BinaryOperation_OrBool() public static method

public static BinaryOperation_OrBool ( dynamic Left, dynamic Right ) : bool
Left dynamic
Right dynamic
return bool

BinaryOperation_Pow() public static method

public static BinaryOperation_Pow ( dynamic Left, dynamic Right ) : double
Left dynamic
Right dynamic
return double

BinaryOperation_Range() public static method

public static BinaryOperation_Range ( dynamic Start, dynamic End ) : dynamic
Start dynamic
End dynamic
return dynamic

BinaryOperation_Sub() public static method

public static BinaryOperation_Sub ( dynamic Left, dynamic Right ) : dynamic
Left dynamic
Right dynamic
return dynamic

Call() public static method

public static Call ( Type Type, string Method ) : dynamic
Type System.Type
Method string
return dynamic

ConvertToBool() public static method

public static ConvertToBool ( dynamic Value ) : bool
Value dynamic
return bool

ConvertToIEnumerable() public static method

public static ConvertToIEnumerable ( dynamic List ) : dynamic
List dynamic
return dynamic

ConvertToString() public static method

public static ConvertToString ( dynamic Value ) : String
Value dynamic
return String

CountArray() public static method

public static CountArray ( dynamic Value ) : int
Value dynamic
return int

GetOpName() public static method

public static GetOpName ( string Operation ) : String
Operation string
return String