| LocalRepositoryFactoryServiceTryCreateServiceTService Method (TService) |
Try to create TService
Namespace:
SanteDB.DisconnectedClient.Services.Local
Assembly:
SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax public bool TryCreateService<TService>(
out TService serviceInstance
)
Public Function TryCreateService(Of TService) (
<OutAttribute> ByRef serviceInstance As TService
) As Boolean
public:
generic<typename TService>
virtual bool TryCreateService(
[OutAttribute] TService% serviceInstance
) sealed
abstract TryCreateService :
serviceInstance : 'TService byref -> bool
override TryCreateService :
serviceInstance : 'TService byref -> bool
Parameters
- serviceInstance
- Type: TService
[Missing <param name="serviceInstance"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalRepositoryFactoryService.TryCreateService``1(``0@)"]
Type Parameters
- TService
[Missing <typeparam name="TService"/> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalRepositoryFactoryService.TryCreateService``1(``0@)"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.Services.Local.LocalRepositoryFactoryService.TryCreateService``1(``0@)"]
Implements
IServiceFactoryTryCreateServiceTService(TService)See Also