Click or drag to resize

InstanceOwnership Enumeration

Determines when instances supporting IDisposable are disposed.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
public enum InstanceOwnership
Members
  Member nameValueDescription
ExternallyOwned0 The lifetime scope does not dispose the instances.
OwnedByLifetimeScope1 The instances are disposed when the lifetime scope is disposed.
See Also