C# Class Zetbox.API.ExpressionFilter

Implements an Expression Filter. This class Ensures that only legal Expression are passed to the Server. Illegal Expression: Every MethodCall Expression not implemented on System.String ** Rethink this!! Security should be implemented in querytranslator corretly That means, that Aggregations & Co are allowed on the client side But that's an topic to discuss
Mostrar archivo Open project: daszat/zetbox

Public Methods

Method Description
IsLegal ( this e ) : bool

Checks if the given Expression is legal.

IsLegal ( this e, List &list ) : bool

Checks if the given Expression is legal.

Method Details

IsLegal() public static method

Checks if the given Expression is legal.
public static IsLegal ( this e ) : bool
e this Expression
return bool

IsLegal() public static method

Checks if the given Expression is legal.
public static IsLegal ( this e, List &list ) : bool
e this Expression
list List Out: List of illegal Expressions
return bool