C# Class NVelocity.Runtime.Parser.Node.MathUtil

Show file Open project: rasmus-toftdahl-olesen/NVelocity

Public Methods

Method Description
Add ( Type maxType, object left, object right ) : object
Div ( Type maxType, object left, object right ) : object
Mod ( Type maxType, object left, object right ) : object
Mult ( Type maxType, object left, object right ) : object
Sub ( Type maxType, object left, object right ) : object
ToMaxType ( Type leftType, Type rightType ) : Type

Method Details

Add() public static method

public static Add ( Type maxType, object left, object right ) : object
maxType System.Type
left object
right object
return object

Div() public static method

public static Div ( Type maxType, object left, object right ) : object
maxType System.Type
left object
right object
return object

Mod() public static method

public static Mod ( Type maxType, object left, object right ) : object
maxType System.Type
left object
right object
return object

Mult() public static method

public static Mult ( Type maxType, object left, object right ) : object
maxType System.Type
left object
right object
return object

Sub() public static method

public static Sub ( Type maxType, object left, object right ) : object
maxType System.Type
left object
right object
return object

ToMaxType() public static method

public static ToMaxType ( Type leftType, Type rightType ) : Type
leftType System.Type
rightType System.Type
return System.Type