IntegrityContainer.RegisterInstance<TServiceType>(TServiceType) Method
Registers the specified instance as a singleton with the specified TServiceType key.
Namespace: DevExpress.Utils.IoC
Assembly: DevExpress.Data.v21.2.dll
NuGet Packages: DevExpress.Data, DevExpress.Win.Design
Declaration
Parameters
Name | Type | Description |
---|---|---|
instance | TServiceType | A Object value. |
Type Parameters
Name |
---|
TServiceType |
Returns
Type | Description |
---|---|
InstanceRegistration | An InstanceRegistration object. |
See Also