Skip to main content

IntegrityContainer Members

A dependency injection container.

Constructors

Name Description
IntegrityContainer() Initializes a new instance of the IntegrityContainer class with the default settings.

Methods

Name Description
Dispose() Releases all resources used by IntegrityContainer.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterFactory<TServiceType>(Func<TServiceType>) Registers a delegate to resolve an instance of the specified type with a specified TServiceType key.
RegisterFactory<TServiceType>(Func<IServiceProvider, TServiceType>) Registers a delegate with the specified container as an argument to resolve an instance of the specified type with a corresponding TServiceType key.
RegisterInstance(Type, Object) Registers the specified instance as a singleton with the specified serviceType key.
RegisterInstance<TServiceType>(TServiceType) Registers the specified instance as a singleton with the specified TServiceType key.
RegisterType(Type, Type) Registers the specified concreteType with the specified serviceType key.
RegisterType<TConcreteType>() Registers the specified TConcreteType as a dependency.
RegisterType<TServiceType, TConcreteType>() Registers the specified TConcreteType with the specified TServiceType key.
Resolve(Type) Gets an instance with the specified serviceType key.
Resolve<TServiceType>() Gets an instance of the specified type with a corresponding TServiceType key.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also