ModelExpressionVisitor Class |
Namespace: SanteDB.Core.Model.Map
The ModelExpressionVisitor type exposes the following members.
Name | Description | |
---|---|---|
ModelExpressionVisitor |
Model conversion visitor
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Visit(Expression) |
Visit an expression
(Overrides ExpressionVisitorVisit(Expression).) | |
Visit(ReadOnlyCollectionExpression) | Dispatches the list of expressions to one of the more specialized visit methods in this class. (Inherited from ExpressionVisitor.) | |
VisitAndConvertT(ReadOnlyCollectionT, String) | Visits all expressions in the collection, casting the results back to the original expression type. (Inherited from ExpressionVisitor.) | |
VisitAndConvertT(T, String) | Visits an expression, casting the result back to the original expression type. (Inherited from ExpressionVisitor.) | |
VisitBinary |
Visit a binary method
(Overrides ExpressionVisitorVisitBinary(BinaryExpression).) | |
VisitBlock | Visits the children of the BlockExpression. (Inherited from ExpressionVisitor.) | |
VisitCatchBlock | Visits the children of the CatchBlock. (Inherited from ExpressionVisitor.) | |
VisitConditional | Visits the children of the ConditionalExpression. (Inherited from ExpressionVisitor.) | |
VisitConstant | Visits the ConstantExpression. (Inherited from ExpressionVisitor.) | |
VisitConvert |
Remove unnecessary convert statement
| |
VisitDebugInfo | Visits the DebugInfoExpression. (Inherited from ExpressionVisitor.) | |
VisitDefault | Visits the DefaultExpression. (Inherited from ExpressionVisitor.) | |
VisitDynamic | Visits the children of the DynamicExpression. (Inherited from ExpressionVisitor.) | |
VisitElementInit | Visits the children of the ElementInit. (Inherited from ExpressionVisitor.) | |
VisitExpressionList |
Visit each expression in the args
| |
VisitExtension | Visits the children of the extension expression. (Inherited from ExpressionVisitor.) | |
VisitGoto | Visits the children of the GotoExpression. (Inherited from ExpressionVisitor.) | |
VisitIndex | Visits the children of the IndexExpression. (Inherited from ExpressionVisitor.) | |
VisitInvocation | Visits the children of the InvocationExpression. (Inherited from ExpressionVisitor.) | |
VisitLabel | Visits the children of the LabelExpression. (Inherited from ExpressionVisitor.) | |
VisitLabelTarget | Visits the LabelTarget. (Inherited from ExpressionVisitor.) | |
VisitLambdaT | Visits the children of the ExpressionTDelegate. (Inherited from ExpressionVisitor.) | |
VisitLambdaGeneric |
Visit a lambda expression
| |
VisitListInit | Visits the children of the ListInitExpression. (Inherited from ExpressionVisitor.) | |
VisitLoop | Visits the children of the LoopExpression. (Inherited from ExpressionVisitor.) | |
VisitMember | Visits the children of the MemberExpression. (Inherited from ExpressionVisitor.) | |
VisitMemberAccess |
Visit member access, converts member expression type and name
| |
VisitMemberAssignment | Visits the children of the MemberAssignment. (Inherited from ExpressionVisitor.) | |
VisitMemberBinding | Visits the children of the MemberBinding. (Inherited from ExpressionVisitor.) | |
VisitMemberInit | Visits the children of the MemberInitExpression. (Inherited from ExpressionVisitor.) | |
VisitMemberListBinding | Visits the children of the MemberListBinding. (Inherited from ExpressionVisitor.) | |
VisitMemberMemberBinding | Visits the children of the MemberMemberBinding. (Inherited from ExpressionVisitor.) | |
VisitMethodCall |
Visit method call
(Overrides ExpressionVisitorVisitMethodCall(MethodCallExpression).) | |
VisitNew | Visits the children of the NewExpression. (Inherited from ExpressionVisitor.) | |
VisitNewArray | Visits the children of the NewArrayExpression. (Inherited from ExpressionVisitor.) | |
VisitParameter |
Visit parameter
(Overrides ExpressionVisitorVisitParameter(ParameterExpression).) | |
VisitRuntimeVariables | Visits the children of the RuntimeVariablesExpression. (Inherited from ExpressionVisitor.) | |
VisitSwitch | Visits the children of the SwitchExpression. (Inherited from ExpressionVisitor.) | |
VisitSwitchCase | Visits the children of the SwitchCase. (Inherited from ExpressionVisitor.) | |
VisitTry | Visits the children of the TryExpression. (Inherited from ExpressionVisitor.) | |
VisitTypeBinary |
Map type binary
(Overrides ExpressionVisitorVisitTypeBinary(TypeBinaryExpression).) | |
VisitUnary |
Visit unary expression
(Overrides ExpressionVisitorVisitUnary(UnaryExpression).) |
Name | Description | |
---|---|---|
ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |