Skip to main content
All docs
V24.1
.NET Framework 4.5.2+

SecuredXPObjectSpace(ITypesInfo, XpoTypeInfoSource, UInt16, CreateUnitOfWorkHandler, ISecurityStrategyBase) Constructor

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

Namespace: DevExpress.ExpressApp.Security

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

Declaration

public SecuredXPObjectSpace(
    ITypesInfo typesInfo,
    XpoTypeInfoSource xpoTypeInfoSource,
    ushort hostParametersMaxNumber,
    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.

hostParametersMaxNumber UInt16

A UInt16 value that specifies the maximum number of hosted parameters.

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