Click or drag to resize

InstanceOwnership Enumeration

Determines when instances supporting IDisposable are disposed.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
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