Skip to main content

ViewModelSourceIntegrityContainer Methods

A factory container for creating instances of ViewModels, report models, wizard page presenters and other objects.
Name Description
Dispose() Releases all resources used by IntegrityContainer. Inherited from 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. Inherited from IntegrityContainer.
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. Inherited from IntegrityContainer.
RegisterInstance(Type, Object) Registers the specified instance as a singleton with the specified serviceType key. Inherited from IntegrityContainer.
RegisterInstance<TServiceType>(TServiceType) Registers the specified instance as a singleton with the specified TServiceType key. Inherited from IntegrityContainer.
RegisterType(Type, Type) Registers the specified concreteType with the specified serviceType key. Inherited from IntegrityContainer.
RegisterType<TConcreteType>() Registers the specified TConcreteType as a dependency. Inherited from IntegrityContainer.
RegisterType<TServiceType, TConcreteType>() Registers the specified TConcreteType with the specified TServiceType key. Inherited from IntegrityContainer.
RegisterViewModel<TConcreteType>() Registers the specified TConcreteType as a dependency.
RegisterViewModel<TServiceType, TConcreteType>() Registers the specified TConcreteType with the specified TServiceType key.
Resolve(Type) Gets an instance with the specified serviceType key. Inherited from IntegrityContainer.
Resolve<TServiceType>() Gets an instance of the specified type with a corresponding TServiceType key. Inherited from IntegrityContainer.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also