Skip to main content

IntegrityContainer.RegisterInstance<TServiceType>(TServiceType) Method

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

Namespace: DevExpress.Utils.IoC

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

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