 | ExtensionMethodsTryResolveClassConceptToType Method |
Resolves me to the appropriate RIM type based on its class key
Namespace: SanteDBAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic static bool TryResolveClassConceptToType(
this IHasClassConcept me,
out Type mappedType
)
<ExtensionAttribute>
Public Shared Function TryResolveClassConceptToType (
me As IHasClassConcept,
<OutAttribute> ByRef mappedType As Type
) As Boolean
public:
[ExtensionAttribute]
static bool TryResolveClassConceptToType(
IHasClassConcept^ me,
[OutAttribute] Type^% mappedType
)
[<ExtensionAttribute>]
static member TryResolveClassConceptToType :
me : IHasClassConcept *
mappedType : Type byref -> bool Parameters
- me IHasClassConcept
- The class concept object to be resolved
- mappedType Type
- The mapped type
Return Value
BooleanTrue if the type was mapped succesfully from class concept
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IHasClassConcept. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
This method can be used when a method is passed, for example, a generic Entity instance which claims to be a Patient
to discover the declared type
See Also