C# Class SIPSorcery.Persistence.ExpressionVisitor

Datei anzeigen Open project: sipsorcery/sipsorcery

Protected Methods

Method Description
ExpressionVisitor ( ) : System
UpdateBinary ( BinaryExpression b, Expression left, Expression right, Expression conversion, bool isLiftedToNull, MethodInfo method ) : BinaryExpression
UpdateConditional ( ConditionalExpression c, Expression test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression
UpdateInvocation ( InvocationExpression iv, Expression expression, IEnumerable args ) : InvocationExpression
UpdateLambda ( LambdaExpression lambda, Type delegateType, Expression body, IEnumerable parameters ) : LambdaExpression
UpdateListInit ( ListInitExpression init, NewExpression nex, IEnumerable initializers ) : ListInitExpression
UpdateMemberAccess ( MemberExpression m, Expression expression, MemberInfo member ) : MemberExpression
UpdateMemberAssignment ( MemberAssignment assignment, MemberInfo member, Expression expression ) : MemberAssignment
UpdateMemberInit ( MemberInitExpression init, NewExpression nex, IEnumerable bindings ) : MemberInitExpression
UpdateMemberListBinding ( MemberListBinding binding, MemberInfo member, IEnumerable initializers ) : MemberListBinding
UpdateMemberMemberBinding ( MemberMemberBinding binding, MemberInfo member, IEnumerable bindings ) : MemberMemberBinding
UpdateMethodCall ( MethodCallExpression m, Expression obj, MethodInfo method, IEnumerable args ) : MethodCallExpression
UpdateNew ( NewExpression nex, ConstructorInfo constructor, IEnumerable args, IEnumerable members ) : NewExpression
UpdateNewArray ( NewArrayExpression na, Type arrayType, IEnumerable expressions ) : NewArrayExpression
UpdateTypeIs ( TypeBinaryExpression b, Expression expression, Type typeOperand ) : TypeBinaryExpression
UpdateUnary ( UnaryExpression u, Expression operand, Type resultType, MethodInfo method ) : UnaryExpression
Visit ( Expression exp ) : Expression
VisitBinary ( BinaryExpression b ) : Expression
VisitBinding ( MemberBinding binding ) : MemberBinding
VisitBindingList ( ReadOnlyCollection original ) : IEnumerable
VisitConditional ( ConditionalExpression c ) : Expression
VisitConstant ( ConstantExpression c ) : Expression
VisitElementInitializer ( ElementInit initializer ) : ElementInit
VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable
VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection
VisitInvocation ( InvocationExpression iv ) : Expression
VisitLambda ( LambdaExpression lambda ) : Expression
VisitListInit ( ListInitExpression init ) : Expression
VisitMemberAccess ( MemberExpression m ) : Expression
VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
VisitMemberInit ( MemberInitExpression init ) : Expression
VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding
VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding
VisitMethodCall ( MethodCallExpression m ) : Expression
VisitNew ( NewExpression nex ) : NewExpression
VisitNewArray ( NewArrayExpression na ) : Expression
VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
VisitTypeIs ( TypeBinaryExpression b ) : Expression
VisitUnary ( UnaryExpression u ) : Expression
VisitUnknown ( Expression expression ) : Expression

Method Details

ExpressionVisitor() protected method

protected ExpressionVisitor ( ) : System
return System

UpdateBinary() protected method

protected UpdateBinary ( BinaryExpression b, Expression left, Expression right, Expression conversion, bool isLiftedToNull, MethodInfo method ) : BinaryExpression
b System.Linq.Expressions.BinaryExpression
left System.Linq.Expressions.Expression
right System.Linq.Expressions.Expression
conversion System.Linq.Expressions.Expression
isLiftedToNull bool
method System.Reflection.MethodInfo
return System.Linq.Expressions.BinaryExpression

UpdateConditional() protected method

protected UpdateConditional ( ConditionalExpression c, Expression test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression
c System.Linq.Expressions.ConditionalExpression
test System.Linq.Expressions.Expression
ifTrue System.Linq.Expressions.Expression
ifFalse System.Linq.Expressions.Expression
return System.Linq.Expressions.ConditionalExpression

UpdateInvocation() protected method

protected UpdateInvocation ( InvocationExpression iv, Expression expression, IEnumerable args ) : InvocationExpression
iv System.Linq.Expressions.InvocationExpression
expression System.Linq.Expressions.Expression
args IEnumerable
return System.Linq.Expressions.InvocationExpression

UpdateLambda() protected method

protected UpdateLambda ( LambdaExpression lambda, Type delegateType, Expression body, IEnumerable parameters ) : LambdaExpression
lambda System.Linq.Expressions.LambdaExpression
delegateType System.Type
body System.Linq.Expressions.Expression
parameters IEnumerable
return System.Linq.Expressions.LambdaExpression

UpdateListInit() protected method

protected UpdateListInit ( ListInitExpression init, NewExpression nex, IEnumerable initializers ) : ListInitExpression
init System.Linq.Expressions.ListInitExpression
nex System.Linq.Expressions.NewExpression
initializers IEnumerable
return System.Linq.Expressions.ListInitExpression

UpdateMemberAccess() protected method

protected UpdateMemberAccess ( MemberExpression m, Expression expression, MemberInfo member ) : MemberExpression
m System.Linq.Expressions.MemberExpression
expression System.Linq.Expressions.Expression
member System.Reflection.MemberInfo
return System.Linq.Expressions.MemberExpression

UpdateMemberAssignment() protected method

protected UpdateMemberAssignment ( MemberAssignment assignment, MemberInfo member, Expression expression ) : MemberAssignment
assignment System.Linq.Expressions.MemberAssignment
member System.Reflection.MemberInfo
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.MemberAssignment

UpdateMemberInit() protected method

protected UpdateMemberInit ( MemberInitExpression init, NewExpression nex, IEnumerable bindings ) : MemberInitExpression
init System.Linq.Expressions.MemberInitExpression
nex System.Linq.Expressions.NewExpression
bindings IEnumerable
return System.Linq.Expressions.MemberInitExpression

UpdateMemberListBinding() protected method

protected UpdateMemberListBinding ( MemberListBinding binding, MemberInfo member, IEnumerable initializers ) : MemberListBinding
binding System.Linq.Expressions.MemberListBinding
member System.Reflection.MemberInfo
initializers IEnumerable
return System.Linq.Expressions.MemberListBinding

UpdateMemberMemberBinding() protected method

protected UpdateMemberMemberBinding ( MemberMemberBinding binding, MemberInfo member, IEnumerable bindings ) : MemberMemberBinding
binding System.Linq.Expressions.MemberMemberBinding
member System.Reflection.MemberInfo
bindings IEnumerable
return System.Linq.Expressions.MemberMemberBinding

UpdateMethodCall() protected method

protected UpdateMethodCall ( MethodCallExpression m, Expression obj, MethodInfo method, IEnumerable args ) : MethodCallExpression
m System.Linq.Expressions.MethodCallExpression
obj System.Linq.Expressions.Expression
method System.Reflection.MethodInfo
args IEnumerable
return System.Linq.Expressions.MethodCallExpression

UpdateNew() protected method

protected UpdateNew ( NewExpression nex, ConstructorInfo constructor, IEnumerable args, IEnumerable members ) : NewExpression
nex System.Linq.Expressions.NewExpression
constructor System.Reflection.ConstructorInfo
args IEnumerable
members IEnumerable
return System.Linq.Expressions.NewExpression

UpdateNewArray() protected method

protected UpdateNewArray ( NewArrayExpression na, Type arrayType, IEnumerable expressions ) : NewArrayExpression
na System.Linq.Expressions.NewArrayExpression
arrayType System.Type
expressions IEnumerable
return System.Linq.Expressions.NewArrayExpression

UpdateTypeIs() protected method

protected UpdateTypeIs ( TypeBinaryExpression b, Expression expression, Type typeOperand ) : TypeBinaryExpression
b System.Linq.Expressions.TypeBinaryExpression
expression System.Linq.Expressions.Expression
typeOperand System.Type
return System.Linq.Expressions.TypeBinaryExpression

UpdateUnary() protected method

protected UpdateUnary ( UnaryExpression u, Expression operand, Type resultType, MethodInfo method ) : UnaryExpression
u System.Linq.Expressions.UnaryExpression
operand System.Linq.Expressions.Expression
resultType System.Type
method System.Reflection.MethodInfo
return System.Linq.Expressions.UnaryExpression

Visit() protected method

protected Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

VisitBinary() protected method

protected VisitBinary ( BinaryExpression b ) : Expression
b System.Linq.Expressions.BinaryExpression
return System.Linq.Expressions.Expression

VisitBinding() protected method

protected VisitBinding ( MemberBinding binding ) : MemberBinding
binding System.Linq.Expressions.MemberBinding
return System.Linq.Expressions.MemberBinding

VisitBindingList() protected method

protected VisitBindingList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
return IEnumerable

VisitConditional() protected method

protected VisitConditional ( ConditionalExpression c ) : Expression
c System.Linq.Expressions.ConditionalExpression
return System.Linq.Expressions.Expression

VisitConstant() protected method

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
return System.Linq.Expressions.Expression

VisitElementInitializer() protected method

protected VisitElementInitializer ( ElementInit initializer ) : ElementInit
initializer System.Linq.Expressions.ElementInit
return System.Linq.Expressions.ElementInit

VisitElementInitializerList() protected method

protected VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
return IEnumerable

VisitExpressionList() protected method

protected VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection
original ReadOnlyCollection
return ReadOnlyCollection

VisitInvocation() protected method

protected VisitInvocation ( InvocationExpression iv ) : Expression
iv System.Linq.Expressions.InvocationExpression
return System.Linq.Expressions.Expression

VisitLambda() protected method

protected VisitLambda ( LambdaExpression lambda ) : Expression
lambda System.Linq.Expressions.LambdaExpression
return System.Linq.Expressions.Expression

VisitListInit() protected method

protected VisitListInit ( ListInitExpression init ) : Expression
init System.Linq.Expressions.ListInitExpression
return System.Linq.Expressions.Expression

VisitMemberAccess() protected method

protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitMemberAssignment() protected method

protected VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
assignment System.Linq.Expressions.MemberAssignment
return System.Linq.Expressions.MemberAssignment

VisitMemberInit() protected method

protected VisitMemberInit ( MemberInitExpression init ) : Expression
init System.Linq.Expressions.MemberInitExpression
return System.Linq.Expressions.Expression

VisitMemberListBinding() protected method

protected VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding
binding System.Linq.Expressions.MemberListBinding
return System.Linq.Expressions.MemberListBinding

VisitMemberMemberBinding() protected method

protected VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding
binding System.Linq.Expressions.MemberMemberBinding
return System.Linq.Expressions.MemberMemberBinding

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression

VisitNew() protected method

protected VisitNew ( NewExpression nex ) : NewExpression
nex System.Linq.Expressions.NewExpression
return System.Linq.Expressions.NewExpression

VisitNewArray() protected method

protected VisitNewArray ( NewArrayExpression na ) : Expression
na System.Linq.Expressions.NewArrayExpression
return System.Linq.Expressions.Expression

VisitParameter() protected method

protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression
return System.Linq.Expressions.Expression

VisitTypeIs() protected method

protected VisitTypeIs ( TypeBinaryExpression b ) : Expression
b System.Linq.Expressions.TypeBinaryExpression
return System.Linq.Expressions.Expression

VisitUnary() protected method

protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
return System.Linq.Expressions.Expression

VisitUnknown() protected method

protected VisitUnknown ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression