Skip to main content
All docs
V24.1
.NET 6.0+

NonPersistentObjectSpace.ServiceProvider Property

Gets the IServiceProvider used to access the application’s services.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public override IServiceProvider ServiceProvider { get; }

Property Value

Type Description
IServiceProvider

An object that implements the IServiceProvider interface.

Remarks

Refer to the following article for information on how to access services in a non-persistent object implementation: Write Business Object Code that Accesses Services (Use Session or IObjectSpace).

See Also