C# 클래스 Vertesaur.Generation.Expressions.ExpressionBuilderExtensionMethods

Utility and extension methods to support expression generation.
파일 보기 프로젝트 열기: aarondandy/vertesaur

공개 메소드들

메소드 설명
Generate ( this generator, string expressionName ) : Expression

Creates a new expression.

Generate ( this generator, string expressionName, Expression input ) : Expression

Creates a new expression.

Generate ( this generator, string expressionName, Expression input0, Expression input1 ) : Expression

Creates a new expression.

Generate ( this generator, string expressionName, Type resultType ) : Expression

Creates a new expression.

GenerateConversion ( this generator, Type resultType, Expression input ) : Expression

Creates a new conversion expression.

GenerateConversionOrThrow ( this generator, Type resultType, Expression input ) : Expression

Creates a new conversion expression.

GenerateOrThrow ( this generator, string expressionName ) : Expression

Creates a new expression.

GenerateOrThrow ( this generator, string expressionName, Expression input0, Expression input1 ) : Expression

Creates a new expression.

GenerateOrThrow ( this generator, string expressionName, Type resultType ) : Expression

Creates a new expression.

NewConversionRequest ( this generator, Type resultType, Expression input ) : IExpressionGenerationRequest

Creates a new conversion expression request.

NewRequest ( this generator, string expressionName ) : IExpressionGenerationRequest

Creates a new expression request.

NewRequest ( this generator, string expressionName, Type resultType ) : IExpressionGenerationRequest

Creates a new expression request.

비공개 메소드들

메소드 설명
InvalidOp ( string expressionName, IEnumerable inputExpressions ) : InvalidOperationException
InvalidOp ( string expressionName, Type type ) : InvalidOperationException
InvalidOpConversion ( Type from, Type to ) : InvalidOperationException

메소드 상세

Generate() 공개 정적인 메소드

Creates a new expression.
public static Generate ( this generator, string expressionName ) : Expression
generator this The expression generator to use.
expressionName string The name of the requested expression.
리턴 System.Linq.Expressions.Expression

Generate() 공개 정적인 메소드

Creates a new expression.
public static Generate ( this generator, string expressionName, Expression input ) : Expression
generator this The expression generator to use.
expressionName string The name of the requested expression.
input System.Linq.Expressions.Expression The requested input for the expression.
리턴 System.Linq.Expressions.Expression

Generate() 공개 정적인 메소드

Creates a new expression.
public static Generate ( this generator, string expressionName, Expression input0, Expression input1 ) : Expression
generator this The expression generator to use.
expressionName string The name of the requested expression.
input0 System.Linq.Expressions.Expression The first requested input for the expression.
input1 System.Linq.Expressions.Expression The second requested input for the expression.
리턴 System.Linq.Expressions.Expression

Generate() 공개 정적인 메소드

Creates a new expression.
public static Generate ( this generator, string expressionName, Type resultType ) : Expression
generator this The expression generator to use.
expressionName string The name of the requested expression.
resultType System.Type The desired result type of the expression.
리턴 System.Linq.Expressions.Expression

GenerateConversion() 공개 정적인 메소드

Creates a new conversion expression.
public static GenerateConversion ( this generator, Type resultType, Expression input ) : Expression
generator this The expression generator to use.
resultType System.Type The desired result type of the expression to convert to.
input System.Linq.Expressions.Expression The input expression to convert from.
리턴 System.Linq.Expressions.Expression

GenerateConversionOrThrow() 공개 정적인 메소드

Creates a new conversion expression.
public static GenerateConversionOrThrow ( this generator, Type resultType, Expression input ) : Expression
generator this The expression generator to use.
resultType System.Type The desired result type of the expression to convert to.
input System.Linq.Expressions.Expression The input expression to convert from.
리턴 System.Linq.Expressions.Expression

GenerateOrThrow() 공개 정적인 메소드

Creates a new expression.
public static GenerateOrThrow ( this generator, string expressionName ) : Expression
generator this The expression generator to use.
expressionName string The name of the requested expression.
리턴 Expression

GenerateOrThrow() 공개 정적인 메소드

Creates a new expression.
public static GenerateOrThrow ( this generator, string expressionName, Expression input0, Expression input1 ) : Expression
generator this The expression generator to use.
expressionName string The name of the requested expression.
input0 Expression The first input argument.
input1 Expression The second input argument.
리턴 Expression

GenerateOrThrow() 공개 정적인 메소드

Creates a new expression.
public static GenerateOrThrow ( this generator, string expressionName, Type resultType ) : Expression
generator this The expression generator to use.
expressionName string The name of the requested expression.
resultType Type The desired result type of the expression.
리턴 Expression

NewConversionRequest() 공개 정적인 메소드

Creates a new conversion expression request.
public static NewConversionRequest ( this generator, Type resultType, Expression input ) : IExpressionGenerationRequest
generator this The expression generator to use.
resultType Type The desired result type of the conversion expression.
input Expression The input expression to be converted.
리턴 IExpressionGenerationRequest

NewRequest() 공개 정적인 메소드

Creates a new expression request.
public static NewRequest ( this generator, string expressionName ) : IExpressionGenerationRequest
generator this The expression generator to use.
expressionName string The name of the requested expression.
리턴 IExpressionGenerationRequest

NewRequest() 공개 정적인 메소드

Creates a new expression request.
public static NewRequest ( this generator, string expressionName, Type resultType ) : IExpressionGenerationRequest
generator this The expression generator to use.
expressionName string The name of the requested expression.
resultType Type The desired result type of the expression.
리턴 IExpressionGenerationRequest