Skip to main content
All docs
V24.2
.NET 8.0+

SecuredXPObjectSpace(ITypesInfo, XpoTypeInfoSource, CreateUnitOfWorkHandler, ISecurityStrategyBase) Constructor

Initializes a new instance of the SecuredXPObjectSpace class with specified settings.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.Xpo.v24.2.dll

Declaration

public SecuredXPObjectSpace(
    ITypesInfo typesInfo,
    XpoTypeInfoSource xpoTypeInfoSource,
    CreateUnitOfWorkHandler createUnitOfWorkDelegate,
    ISecurityStrategyBase security
)

Parameters

Name Type Description
typesInfo ITypesInfo

An ITypesInfo object that provides access to XAF-related information on business classes.

xpoTypeInfoSource DevExpress.ExpressApp.DC.Xpo.XpoTypeInfoSource

An XpoTypeInfoSource object that is a source of XPO-related information on business classes.

createUnitOfWorkDelegate DevExpress.ExpressApp.Xpo.CreateUnitOfWorkHandler

A CreateUnitOfWorkHandler object, which is a delegate that encapsulates a method. This method creates a UnitOfWork for the Object Space’s XPObjectSpace.Session.

security ISecurityStrategyBase

The ISecurityStrategyBase object that is the Security Strategy used in the application.

See Also