C# Class Mix.Cms.Lib.Helpers.ODataHelper

Datei anzeigen Open project: codemerx/CodemerxDecompile Class Usage Examples

Public Methods

Method Description
CombineExpression ( Expression expr1, Expression expr2, BinaryOperatorKind kind, string name = "model" ) : bool>>.Expression
FilterObjectSet ( SingleValuePropertyAccessNode rule, ConstantNode constant, BinaryOperatorKind kind, string name = "model" ) : bool>>.Expression
GetPropValue ( object src, string propName ) : object
ODataHelper ( ) : Microsoft.OData.UriParser
ParseFilter ( SingleValueNode node, Expression &result, int kind = -1 ) : void
TryNodeValue ( SingleValueNode node, IDictionary values ) : void

Private Methods

Method Description
GetPropertyExpression ( Type type, string name ) : Expression
GetPropertyType ( Type type, string name ) : Type

Method Details

CombineExpression() public static method

public static CombineExpression ( Expression expr1, Expression expr2, BinaryOperatorKind kind, string name = "model" ) : bool>>.Expression
expr1 Expression
expr2 Expression
kind BinaryOperatorKind
name string
return bool>>.Expression

FilterObjectSet() public static method

public static FilterObjectSet ( SingleValuePropertyAccessNode rule, ConstantNode constant, BinaryOperatorKind kind, string name = "model" ) : bool>>.Expression
rule SingleValuePropertyAccessNode
constant ConstantNode
kind BinaryOperatorKind
name string
return bool>>.Expression

GetPropValue() public static method

public static GetPropValue ( object src, string propName ) : object
src object
propName string
return object

ODataHelper() public method

public ODataHelper ( ) : Microsoft.OData.UriParser
return Microsoft.OData.UriParser

ParseFilter() public static method

public static ParseFilter ( SingleValueNode node, Expression &result, int kind = -1 ) : void
node SingleValueNode
result Expression
kind int
return void

TryNodeValue() public static method

public static TryNodeValue ( SingleValueNode node, IDictionary values ) : void
node SingleValueNode
values IDictionary
return void