C# 클래스 System.Linq.Expressions.DynamicExpression

상속: Expression
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DynamicExpression System
GetOrMakeArguments ReadOnlyCollection
IArgumentProvider Expression
IDynamicExpression Expression
IDynamicExpression object
Make DynamicExpression
Make DynamicExpression
Make DynamicExpression
Make DynamicExpression
Make DynamicExpression
Rewrite DynamicExpression

공개 메소드들

메소드 설명
Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, IEnumerable arguments ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and one argument.

MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and two arguments.

MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and three arguments.

MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and four arguments.

MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, IEnumerable arguments ) : DynamicExpression

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

Reduce ( ) : Expression
Update ( IEnumerable arguments ) : DynamicExpression

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

보호된 메소드들

메소드 설명
Accept ( ExpressionVisitor visitor ) : Expression

Dispatches to the specific visit method for this node type.

비공개 메소드들

메소드 설명
DynamicExpression ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder ) : System
GetOrMakeArguments ( ) : ReadOnlyCollection
IArgumentProvider ( int index ) : Expression
IDynamicExpression ( Expression args ) : Expression
IDynamicExpression ( ) : object
Make ( Type returnType, Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0 ) : DynamicExpression
Make ( Type returnType, Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1 ) : DynamicExpression
Make ( Type returnType, Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression
Make ( Type returnType, Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression
Make ( Type returnType, Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, ReadOnlyCollection arguments ) : DynamicExpression
Rewrite ( Expression args ) : DynamicExpression

Makes a copy of this node replacing the args with the provided values. The number of the args needs to match the number of the current block. This helper is provided to allow re-writing of nodes to not depend on the specific optimized subclass of DynamicExpression which is being used.

메소드 상세

Accept() 보호된 메소드

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
리턴 Expression

Dynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType ) : DynamicExpression
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
리턴 DynamicExpression

Dynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0 ) : DynamicExpression
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
리턴 DynamicExpression

Dynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1 ) : DynamicExpression
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
리턴 DynamicExpression

Dynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
리턴 DynamicExpression

Dynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
arg3 Expression The fourth argument to the dynamic operation.
리턴 DynamicExpression

Dynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, IEnumerable arguments ) : DynamicExpression
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arguments IEnumerable The arguments to the dynamic operation.
리턴 DynamicExpression

MakeDynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
public static MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
리턴 DynamicExpression

MakeDynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and one argument.
public static MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The argument to the dynamic operation.
리턴 DynamicExpression

MakeDynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and two arguments.
public static MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
리턴 DynamicExpression

MakeDynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and three arguments.
public static MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
리턴 DynamicExpression

MakeDynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and four arguments.
public static MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
arg3 Expression The fourth argument to the dynamic operation.
리턴 DynamicExpression

MakeDynamic() 공개 정적인 메소드

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
public static MakeDynamic ( Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, IEnumerable arguments ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
arguments IEnumerable The arguments to the dynamic operation.
리턴 DynamicExpression

Reduce() 공개 메소드

public Reduce ( ) : Expression
리턴 Expression

Update() 공개 메소드

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.
public Update ( IEnumerable arguments ) : DynamicExpression
arguments IEnumerable The property of the result.
리턴 DynamicExpression