C# Class System.Linq.Dynamic.ExtendedExpressionParser

Inheritance: ExpressionParser
Afficher le fichier Open project: TargetProcess/Target-Process-Plugins

Méthodes publiques

Méthode Description
ExtendedExpressionParser ( IReadOnlyList parameters, string expression, object values, [ allowedExtensionMethods, [ surrogateGenerator, Type>.[ knownTypes, Maybe baseTypeForNewClass ) : System.Collections.Generic

Méthodes protégées

Méthode Description
GenerateDynamicClassType ( IReadOnlyList properties ) : Type
GenerateMethodCall ( Type type, Expression instance, int errorPos, string id, Lazy argumentList ) : Maybe
TryParseMemberAccess ( Type type, Expression instance, TokenId nextToken, int errorPos, string name ) : Try

Private Methods

Méthode Description
ExtensionMethod ( Expression instance, string methodName, Lazy args, int errorPos, bool prefixed ) : Maybe
GenerateMethodCallImpl ( Type type, Expression instance, int errorPos, string id, Lazy argumentList ) : Maybe
ParseAs ( Expression instance ) : Expression
PropagateToNullMethod ( Type type, Expression instance, int errorPos, string id, Lazy argumentList ) : Maybe

Convert Foo(a,b,c)=>(a!=null && b!=null)?Foo(a.Value,b.Value):null;

SurrogateExpression ( Expression instance, string name ) : Maybe

Method Details

ExtendedExpressionParser() public méthode

public ExtendedExpressionParser ( IReadOnlyList parameters, string expression, object values, [ allowedExtensionMethods, [ surrogateGenerator, Type>.[ knownTypes, Maybe baseTypeForNewClass ) : System.Collections.Generic
parameters IReadOnlyList
expression string
values object
allowedExtensionMethods [
surrogateGenerator [
knownTypes Type>.[
baseTypeForNewClass Maybe
Résultat System.Collections.Generic

GenerateDynamicClassType() protected méthode

protected GenerateDynamicClassType ( IReadOnlyList properties ) : Type
properties IReadOnlyList
Résultat Type

GenerateMethodCall() protected méthode

protected GenerateMethodCall ( Type type, Expression instance, int errorPos, string id, Lazy argumentList ) : Maybe
type Type
instance System.Linq.Expressions.Expression
errorPos int
id string
argumentList Lazy
Résultat Maybe

TryParseMemberAccess() protected méthode

protected TryParseMemberAccess ( Type type, Expression instance, TokenId nextToken, int errorPos, string name ) : Try
type Type
instance System.Linq.Expressions.Expression
nextToken TokenId
errorPos int
name string
Résultat Try