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