Skip to main content
A newer version of this page is available. .

IntegrityContainer.RegisterInstance<TServiceType>(TServiceType) Method

Registers the specified instance as a singleton with the specified TServiceType key.

Namespace: DevExpress.Utils.IoC

Assembly: DevExpress.Data.v18.2.dll

Declaration

public InstanceRegistration RegisterInstance<TServiceType>(
    TServiceType instance
)

Parameters

Name Type Description
instance TServiceType

A Object value.

Type Parameters

Name
TServiceType

Returns

Type Description
InstanceRegistration

An InstanceRegistration object.

See Also