ServiceAutoRegister Method |
Automatically register all the dependency types declared
CouchbaseDependencyAttributes. To auto register classes,
they must implement an interface and must have a default constructor.
Namespace:
Couchbase.Lite.DI
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if assembly is null |
| InvalidOperationException | Thrown if an invalid type is found inside of the assembly (i.e.
one that does not implement any interfaces and/or does not have a parameterless constructor) |
See Also