withLifetimeOf
Method
interface ContainerResource { // ... omitted for brevity withLifetimeOf(sourceBuilder: IResource): IResource;}Signature
method
withLifetimeOf builder Configures a resource to match the lifetime of another resource.
withLifetimeOf(sourceBuilder: IResource): IResourceParameters
sourceBuilder IResource Returns
IResource Applies to
This method applies to the following types: