Back to Devexpress

XPInstantFeedbackSource(String, String, String, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>) Constructor

xpo-devexpress-dot-xpo-dot-xpinstantfeedbacksource-dot-xpinstantfeedbacksource-x28-string-string-string-criteriaoperator-action-resolvesessioneventargs-action-resolvesessioneventargs-x29.md

latest3.8 KB
Original Source

XPInstantFeedbackSource(String, String, String, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>) Constructor

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public XPInstantFeedbackSource(
    string assemblyName,
    string typeName,
    string displayableProperties,
    CriteriaOperator fixedCriteria,
    Action<ResolveSessionEventArgs> resolveSession,
    Action<ResolveSessionEventArgs> dismissSession
)
vb
Public Sub New(
    assemblyName As String,
    typeName As String,
    displayableProperties As String,
    fixedCriteria As CriteriaOperator,
    resolveSession As Action(Of ResolveSessionEventArgs),
    dismissSession As Action(Of ResolveSessionEventArgs)
)

Parameters

NameTypeDescription
assemblyNameString

A string containing the name of the assembly where a persistent class describing the target database table is declared.

| | typeName | String |

A string containing the name of a persistent class describing the target database table.

| | displayableProperties | String |

A string representing 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 | Action<ResolveSessionEventArgs> |

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

| | dismissSession | Action<ResolveSessionEventArgs> |

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

|

See Also

XPInstantFeedbackSource Class

XPInstantFeedbackSource Members

DevExpress.Xpo Namespace