C# Class NJection.LambdaConverter.Expressions.Switch

Inheritance: AstExpression
Afficher le fichier Open project: sagifogel/NJection.LambdaConverter Class Usage Examples

Méthodes publiques

Méthode Description
Accept ( NJectionExpressionVisitor visitor ) : Expression
Reduce ( ) : Expression
Update ( Expression switchValue, IEnumerable cases, Expression defaultBody ) : Expression

Méthodes protégées

Méthode Description
Switch ( ICSharpCode.NRefactory.CSharp switchStatement, IScope scope, INRefcatoryExpressionVisitor visitor ) : System.Collections.Generic

Private Methods

Méthode Description
BuildSwitchCases ( ) : void

Method Details

Accept() public méthode

public Accept ( NJectionExpressionVisitor visitor ) : Expression
visitor NJection.LambdaConverter.Visitors.NJectionExpressionVisitor
Résultat System.Linq.Expressions.Expression

Reduce() public méthode

public Reduce ( ) : Expression
Résultat System.Linq.Expressions.Expression

Switch() protected méthode

protected Switch ( ICSharpCode.NRefactory.CSharp switchStatement, IScope scope, INRefcatoryExpressionVisitor visitor ) : System.Collections.Generic
switchStatement ICSharpCode.NRefactory.CSharp
scope IScope
visitor INRefcatoryExpressionVisitor
Résultat System.Collections.Generic

Update() public méthode

public Update ( Expression switchValue, IEnumerable cases, Expression defaultBody ) : Expression
switchValue System.Linq.Expressions.Expression
cases IEnumerable
defaultBody System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression