Class ParameterDataFilter
Parameter Data Filter
Inheritance
Implements
Namespace: MESL.SqlRace.Domain.Query
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class ParameterDataFilter : Object, IFilter
Constructors
ParameterDataFilter(String, MatchingRule, Double)
Constructor
Declaration
public ParameterDataFilter(string identifier, MatchingRule rule, double value)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Parameter to search |
MatchingRule | rule | Comparison operator |
System.Double | value | Value to search for |
ParameterDataFilter(String, MatchingRule, Double, Double)
Constructor
Declaration
public ParameterDataFilter(string identifier, MatchingRule rule, double value, double upperValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Parameter to search |
MatchingRule | rule | Comparison operator |
System.Double | value | Value to search for |
System.Double | upperValue | Upper Value - used when searching with the Between Matching Rule |
ParameterDataFilter(String, MatchingRule, Double, Double, Int32)
Constructor
Declaration
public ParameterDataFilter(string identifier, MatchingRule rule, double value, double upperValue, int timespan)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Parameter to search |
MatchingRule | rule | Comparison operator |
System.Double | value | Value to search for |
System.Double | upperValue | Upper Value - used when searching with the Between Matching Rule |
System.Int32 | timespan | Period of time the condition must be met for |
ParameterDataFilter(String, MatchingRule, Double, Int32)
Constructor
Declaration
public ParameterDataFilter(string identifier, MatchingRule rule, double value, int timespan)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Parameter to search |
MatchingRule | rule | Comparison operator |
System.Double | value | Value to search for |
System.Int32 | timespan | Period of time the condition must be met for |
ParameterDataFilter(String, MatchingRule, String)
Constructor
Declaration
public ParameterDataFilter(string identifier, MatchingRule rule, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Parameter to search |
MatchingRule | rule | Comparison operator |
System.String | value | Value to search for |
ParameterDataFilter(String, MatchingRule, String, Int32)
Constructor
Declaration
public ParameterDataFilter(string identifier, MatchingRule rule, string value, int timespan)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Parameter to search |
MatchingRule | rule | Comparison operator |
System.String | value | Value to search for |
System.Int32 | timespan | Period of time the condition must be met for |
Properties
Identifier
Parameter Identifier
Declaration
public string Identifier { get; }
Property Value
Type | Description |
---|---|
System.String |
IsCancelRequested
Has Cancel been requested
Declaration
public bool IsCancelRequested { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Rule
Matching Rule
Declaration
public MatchingRule Rule { get; }
Property Value
Type | Description |
---|---|
MatchingRule |
Timespan
Period of time the condition must be met for
Declaration
public Nullable<int> Timespan { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Value
Value
Declaration
public ParameterDataFilterValue Value { get; }
Property Value
Type | Description |
---|---|
ParameterDataFilterValue |
Methods
CancelSearch()
Cancel the Search
Declaration
public void CancelSearch()
IsMatch(ISessionSummary)
IsMatch
Declaration
public bool IsMatch(ISessionSummary sessionSummary)
Parameters
Type | Name | Description |
---|---|---|
ISessionSummary | sessionSummary |
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |