Skip to main content
All docs
V25.1
  • .NET 8.0+

    XPInstantFeedbackSource(IServiceProvider, XPClassInfo, String, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<ResolveSessionEventArgs>) Constructor

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

    Namespace: DevExpress.Xpo

    Assembly: DevExpress.Xpo.v25.1.dll

    NuGet Package: DevExpress.Xpo

    Declaration

    public XPInstantFeedbackSource(
        IServiceProvider serviceProvider,
        XPClassInfo classInfo,
        string displayableProperties,
        CriteriaOperator fixedCriteria,
        EventHandler<ResolveSessionEventArgs> resolveSession,
        EventHandler<ResolveSessionEventArgs> dismissSession
    )

    Parameters

    Name Type Description
    serviceProvider IServiceProvider

    An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

    classInfo XPClassInfo

    An XPClassInfo object that identifies the persistent class describing the target database table.

    displayableProperties String

    A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

    fixedCriteria CriteriaOperator

    A CriteriaOperator object specifying the filter expression applied to data on the data store side.

    resolveSession EventHandler<ResolveSessionEventArgs>

    An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

    dismissSession EventHandler<ResolveSessionEventArgs>

    An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

    See Also