Show / Hide Table of Contents

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 Source

Lazy

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX