Class CouchbaseDependencyAttribute
An attribute to indicate that the specified class implements a dependency for Couchbase Lite (e.g. IDefaultDirectoryResolver
Inheritance
System.Object
CouchbaseDependencyAttribute
Namespace: Couchbase.Lite.DI
Assembly: Couchbase.Lite.dll
Syntax
public sealed class CouchbaseDependencyAttribute : Attribute
Properties
| Improve this Doc View SourceLazy
Gets or sets if the dependency should be created when it is
first requested (true) or immediately upon registration.
Declaration
public bool Lazy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Transient
Gets or sets if the dependency is transient (i.e. should be created on each request)
Declaration
public bool Transient { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |