Click or drag to resize

OwnedT Constructor

Namespace:  Autofac.Features.OwnedInstances
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public Owned(
	T value,
	IDisposable lifetime
)

Parameters

value
Type: T
The value representing the instance.
lifetime
Type: SystemIDisposable
An IDisposable interface through which ownership can be released.
See Also