Intersoft ClientUI Documentation
IocContainer Class Members
See Also  Properties  Methods  Send Feedback
Intersoft.Client.Framework.Containers Namespace : IocContainer Class


The following tables list the members exposed by IocContainer.

Public Constructors

 NameDescription
public ConstructorIocContainer ConstructorInitializes a new instance of the IocContainer class. The types IocContainer, IDependencyRegistrar, and IDependencyResolver are all registered to resolve to this instance of the class.  
Top

Public Properties

 NameDescription
public Propertystatic (Shared in Visual Basic)CurrentGets the current instance of Intersoft.Client.Framework.Containers.IocContainer which can be accessed statically.  
public PropertyDefaultLifetimeManagerGets or sets the default ILifetimeManager that will be used during registration.  
Top

Public Methods

 NameDescription
public MethodCanResolveOverloaded. Determines if the type TType can be resolved.  
public MethodDisposeOverloaded. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
public MethodGetRegistrationOverloaded. Returns the registration of the specified type.  
public MethodGetRegistrationsOverloaded. Returns all registrations for the specified type.  
public MethodGetSpecificRegistration<TType>Returns a specific registration based on the specified type and contract name.  
public MethodLazyResolveOverloaded. Gets a function that resolves an unnamed instance of the type TType. This function delays the creation of types which is useful to improve performance particularly when the specified type allocates expensive resources.  
public MethodRegisterOverloaded. Adds the function to resolve an unnamed registration of the specified type to the container.  
public MethodRegisterInstanceOverloaded. Registers an instance that will be returned whenever the IocContainer resolves the specified type.  
public MethodRemoveOverloaded. Removes the registration from the container.  
public MethodResolveOverloaded. Resolves the unnamed instance of the type TType.  
public MethodResolveAllOverloaded. Gets all possible named and unnamed resolutions for the type TType.  
public MethodUsesDefaultLifetimeManagerOfSets the default ILifetimeManager to the specified manager instance.  
Top

Protected Methods

 NameDescription
protected MethodFinalizeThe finalizer just ensures the container is disposed.  
Top

See Also

© 2012 All Rights Reserved.