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

Afficher le fichier Open project: codemerx/CodemerxDecompile Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetPropertyExpression ( Type type, string name ) : Expression
GetPropertyType ( Type type, string name ) : Type

Method Details

CombineExpression() public static méthode

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

FilterObjectSet() public static méthode

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

GetPropValue() public static méthode

public static GetPropValue ( object src, string propName ) : object
src object
propName string
Résultat object

ODataHelper() public méthode

public ODataHelper ( ) : Microsoft.OData.UriParser
Résultat Microsoft.OData.UriParser

ParseFilter() public static méthode

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

TryNodeValue() public static méthode

public static TryNodeValue ( SingleValueNode node, IDictionary values ) : void
node SingleValueNode
values IDictionary
Résultat void