| ModelExtensionsGetInstanceOfTDomain Method |
Gets an instance of TDomain from me
Namespace:
SanteDB.DisconnectedClient.SQLite
Assembly:
SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax public static TDomain GetInstanceOf<TDomain>(
this Object me
)
where TDomain : new()
<ExtensionAttribute>
Public Shared Function GetInstanceOf(Of TDomain As New) (
me As Object
) As TDomain
public:
[ExtensionAttribute]
generic<typename TDomain>
where TDomain : gcnew()
static TDomain GetInstanceOf(
Object^ me
)
[<ExtensionAttribute>]
static member GetInstanceOf :
me : Object -> 'TDomain when 'TDomain : new()
Parameters
- me
- Type: SystemObject
[Missing <param name="me"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.GetInstanceOf``1(System.Object)"]
Type Parameters
- TDomain
[Missing <typeparam name="TDomain"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.GetInstanceOf``1(System.Object)"]
Return Value
Type:
TDomain[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.SQLite.ModelExtensions.GetInstanceOf``1(System.Object)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object. 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).
See Also