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
Syntaxpublic static T GetInstance<T>()
where T : class
Type Parameters
- T
- The type of service to get an implementation for
Return Value
Type:
TThe implementation for the given service
See Also