Package system.linq.expressions
Class DynamicExpression
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.linq.expressions.Expression
-
- system.linq.expressions.DynamicExpression
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DynamicExpression extends Expression
The base .NET class managing System.Linq.Expressions.DynamicExpression, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Linq.Expressions.DynamicExpression
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Corestatic String
className
Qualified class name: System.Linq.Expressions.DynamicExpressionstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DynamicExpression()
DynamicExpression(Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.linq.expressions.Expression
Add, Add, AddAssign, AddAssign, AddAssign, AddAssignChecked, AddAssignChecked, AddAssignChecked, AddChecked, AddChecked, And, And, AndAlso, AndAlso, AndAssign, AndAssign, AndAssign, ArrayAccess, ArrayIndex, ArrayIndex, ArrayLength, Assign, Bind, Bind, Block, Block, Block, Block, Block, Block, Break, Break, Break, Break, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Catch, Catch, Catch, Catch, ClearDebugInfo, Coalesce, Coalesce, Condition, Condition, Constant, Constant, Continue, Continue, Convert, Convert, ConvertChecked, ConvertChecked, DebugInfo, Decrement, Decrement, Default, Divide, Divide, DivideAssign, DivideAssign, DivideAssign, Dynamic, Dynamic, Dynamic, Dynamic, Dynamic, ElementInit, Empty, Equal, Equal, ExclusiveOr, ExclusiveOr, ExclusiveOrAssign, ExclusiveOrAssign, ExclusiveOrAssign, Field, Field, Field, GetActionType, getCanReduce, GetDelegateType, GetFuncType, getNodeType, getType, Goto, Goto, Goto, Goto, GreaterThan, GreaterThan, GreaterThanOrEqual, GreaterThanOrEqual, IfThen, IfThenElse, Increment, Increment, Invoke, IsFalse, IsFalse, IsTrue, IsTrue, Label, Label, Label, Label, Label, Label, Lambda, Lambda, Lambda, Lambda, LeftShift, LeftShift, LeftShiftAssign, LeftShiftAssign, LeftShiftAssign, LessThan, LessThan, LessThanOrEqual, LessThanOrEqual, ListBind, ListBind, ListInit, ListInit, ListInit, Loop, Loop, Loop, MakeBinary, MakeBinary, MakeBinary, MakeCatchBlock, MakeDynamic, MakeDynamic, MakeDynamic, MakeDynamic, MakeDynamic, MakeGoto, MakeMemberAccess, MakeUnary, MakeUnary, MemberBind, MemberBind, MemberInit, Modulo, Modulo, ModuloAssign, ModuloAssign, ModuloAssign, Multiply, Multiply, MultiplyAssign, MultiplyAssign, MultiplyAssign, MultiplyAssignChecked, MultiplyAssignChecked, MultiplyAssignChecked, MultiplyChecked, MultiplyChecked, Negate, Negate, NegateChecked, NegateChecked, New, New, New, NewArrayBounds, NewArrayInit, Not, Not, NotEqual, NotEqual, OnesComplement, OnesComplement, Or, Or, OrAssign, OrAssign, OrAssign, OrElse, OrElse, Parameter, Parameter, PostDecrementAssign, PostDecrementAssign, PostIncrementAssign, PostIncrementAssign, Power, Power, PowerAssign, PowerAssign, PowerAssign, PreDecrementAssign, PreDecrementAssign, PreIncrementAssign, PreIncrementAssign, Property, Property, Property, Property, Property, Property, PropertyOrField, Quote, Reduce, ReduceAndCheck, ReduceExtensions, ReferenceEqual, ReferenceNotEqual, Rethrow, Rethrow, Return, Return, Return, Return, RightShift, RightShift, RightShiftAssign, RightShiftAssign, RightShiftAssign, RuntimeVariables, Subtract, Subtract, SubtractAssign, SubtractAssign, SubtractAssign, SubtractAssignChecked, SubtractAssignChecked, SubtractAssignChecked, SubtractChecked, SubtractChecked, Switch, Switch, Switch, Switch, SwitchCase, SymbolDocument, SymbolDocument, SymbolDocument, SymbolDocument, Throw, Throw, TryCatch, TryCatchFinally, TryFault, TryFinally, TryGetActionType, TryGetFuncType, TypeAs, TypeEqual, TypeIs, UnaryPlus, UnaryPlus, Unbox, Variable, Variable
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Core- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Linq.Expressions.DynamicExpression- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classExpression
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classExpression
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classExpression
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classExpression
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classExpression
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classExpression
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DynamicExpression cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoDynamicExpression
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DynamicExpression
instance- Throws:
Throwable
- in case of error during cast operation
-
DynamicNewDynamicExpression
public static DynamicExpression DynamicNewDynamicExpression(CallSiteBinder binder, NetType returnType, Expression arg0) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException
-
DynamicNewDynamicExpression
public static DynamicExpression DynamicNewDynamicExpression(CallSiteBinder binder, NetType returnType, Expression arg0, Expression arg1) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException
-
DynamicNewDynamicExpression
public static DynamicExpression DynamicNewDynamicExpression(CallSiteBinder binder, NetType returnType, Expression arg0, Expression arg1, Expression arg2) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException
-
DynamicNewDynamicExpression
public static DynamicExpression DynamicNewDynamicExpression(CallSiteBinder binder, NetType returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException
-
DynamicNewDynamicExpression
public static DynamicExpression DynamicNewDynamicExpression(CallSiteBinder binder, NetType returnType, Expression... arguments) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException
-
MakeDynamicNewDynamicExpression
public static DynamicExpression MakeDynamicNewDynamicExpression(NetType delegateType, CallSiteBinder binder, Expression arg0) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
-
MakeDynamicNewDynamicExpression
public static DynamicExpression MakeDynamicNewDynamicExpression(NetType delegateType, CallSiteBinder binder, Expression arg0, Expression arg1) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
-
MakeDynamicNewDynamicExpression
public static DynamicExpression MakeDynamicNewDynamicExpression(NetType delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
-
MakeDynamicNewDynamicExpression
public static DynamicExpression MakeDynamicNewDynamicExpression(NetType delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3) throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
-
MakeDynamicNewDynamicExpression
public static DynamicExpression MakeDynamicNewDynamicExpression(NetType delegateType, CallSiteBinder binder, Expression... arguments) throws Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
Rewrite
@Deprecated public Expression Rewrite(Expression[] args) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDynamicExpression method available in IDynamicExpression to obtain an object with an invocable method- Throws:
Throwable
-
CreateCallSite
@Deprecated public NetObject CreateCallSite() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDynamicExpression method available in IDynamicExpression to obtain an object with an invocable method- Throws:
Throwable
-
GetArgument
@Deprecated public Expression GetArgument(int index) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIArgumentProvider method available in IArgumentProvider to obtain an object with an invocable method- Throws:
Throwable
-
getBinder
public CallSiteBinder getBinder() throws Throwable
- Throws:
Throwable
-
-