IntegrityContainer.RegisterInstance Method

Name Parameters Description
RegisterInstance(Type, Object) serviceType, instance Registers the specified instance as a singleton with the specified serviceType key.
RegisterInstance<TServiceType>(TServiceType) instance Registers the specified instance as a singleton with the specified TServiceType key.