Thetype exposes the following members.
|AddInjectionInfo(Type, Type, String)|
|AddInjectionInfo(Type, Type, String, DependencyInjectionTargetKind, DependencyInjectionContextType)|
|AddInjectionInfo(Type, Type, String, DependencyInjectionTargetKind, DependencyInjectionContextType, IEnumerableString)|
(Re)starts the scope and will add the scope to the dependency injection provider. Use this method if the scope was already stopped via the EndScope or (indirectly) through the Dispose method, and you want to re-start it, which can be useful if your scope contains a lot of injection info and rebuilding it can take a couple of milliseconds so you can store scope instances in a thread local cache for example.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Ends the scope and removes the scope from the dependency injection provider. After this method, call StartScope again to re-add the DI data to the provider again.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Initializes the scope. Use this method to add injection info to the scope by subsequential calls to AddInjectionInfo
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)