Click or drag to resize

ServiceGetInstanceT Method

Gets the implementation for the given service, or null if no implementation is registered

Namespace:  Couchbase.Lite.DI
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
public static T GetInstance<T>()
where T : class

Type Parameters

T
The type of service to get an implementation for

Return Value

Type: T
The implementation for the given service
See Also