C# Class Munq.IocContainer

The implementation of the IOC container. Implements the IDependencyRegistrar and IDependencyResolver, along with the IContainerFluent and IDisposable interfaces. The container is thread safe.
Inheritance: IContainerFluent, IDisposable
Afficher le fichier Open project: volkanceylan/Serenity Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Disposes of all Container scoped (ContainerLifetime) instances cached in the type registry, and disposes of the type registry itself.

IocContainer ( ) : System

Initializes a new instance of the IocContainer class; The types IocContainer, IDependencyRegistrar, and IDependencyResolver are all registered to resolve to this instance of the class.

UsesDefaultLifetimeManagerOf ( ILifetimeManager lifetimeManager ) : IContainerFluent

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Implements the Disposed(boolean disposing) method of Disposable pattern.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Disposes of all Container scoped (ContainerLifetime) instances cached in the type registry, and disposes of the type registry itself.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Implements the Disposed(boolean disposing) method of Disposable pattern.
protected Dispose ( bool disposing ) : void
disposing bool True if disposing.
Résultat void

IocContainer() public méthode

Initializes a new instance of the IocContainer class; The types IocContainer, IDependencyRegistrar, and IDependencyResolver are all registered to resolve to this instance of the class.
public IocContainer ( ) : System
Résultat System

UsesDefaultLifetimeManagerOf() public méthode

public UsesDefaultLifetimeManagerOf ( ILifetimeManager lifetimeManager ) : IContainerFluent
lifetimeManager ILifetimeManager
Résultat IContainerFluent