Intersoft ClientUI Documentation
IocContainer Class Members
Properties  Methods 


The following tables list the members exposed by IocContainer.

Public Constructors
 NameDescription
Public ConstructorIocContainer Constructor 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.  
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)CurrentGets the current instance of 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 MethodFinalize The finalizer just ensures the container is disposed.  
Top
See Also

Reference

IocContainer Class
Intersoft.Client.Framework.Containers Namespace

Send Feedback