Click or drag to resize

InjectableCollectionRegisterImplementationT Method

Registers an implementation of the given interface as a generator

Namespace:  Couchbase.Lite.DI
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public static void RegisterImplementation<T>(
	Func<IInjectable> generator
)
where T : IInjectable

Parameters

generator
Type: SystemFuncIInjectable
The function that creates the concrete implementation

Type Parameters

T
The type of interface to register
See Also