C# Class OLinq.Operation

Base operation type. An operation is associated with an Expression and implements its functionality.
Inheritance: IDisposable
显示文件 Open project: wasabii/OLinq

Public Methods

Method Description
CreateMethodCallOperation ( Type type, OperationContext context, MethodCallExpression expression ) : IOperation

Generates a new method call operation.

Dispose ( ) : void

Disposes of the operation.

IsMethod ( MethodInfo method, string name, int typeArgs, int parameters ) : bool

Protected Methods

Method Description
Operation ( OperationContext context, Expression expression ) : System

Initializes a new instance.

Method Details

CreateMethodCallOperation() public static method

Generates a new method call operation.
public static CreateMethodCallOperation ( Type type, OperationContext context, MethodCallExpression expression ) : IOperation
type System.Type
context OperationContext
expression System.Linq.Expressions.MethodCallExpression
return IOperation

Dispose() public method

Disposes of the operation.
public Dispose ( ) : void
return void

IsMethod() public static method

public static IsMethod ( MethodInfo method, string name, int typeArgs, int parameters ) : bool
method System.Reflection.MethodInfo
name string
typeArgs int
parameters int
return bool

Operation() protected method

Initializes a new instance.
protected Operation ( OperationContext context, Expression expression ) : System
context OperationContext
expression System.Linq.Expressions.Expression
return System