Show / Hide Table of Contents

Class CompositeFilter

Class used to aggregate multiple filters for a query

Inheritance
System.Object
CompositeFilter
Implements
IFilter
Namespace: MESL.SqlRace.Domain.Query
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class CompositeFilter : Object, IFilter

Constructors

CompositeFilter(CombineType)

Initialises a new instance of the CompositeFilter class.

Declaration
public CompositeFilter(CombineType combineType)
Parameters
Type Name Description
CombineType combineType

Type of the combine.

Properties

ChildFilters

Gets the list of filter criteria.

Declaration
public IEnumerable<IFilter> ChildFilters { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IFilter>

CombineType

Gets or sets the type of the combination with other match criteria.

Declaration
public CombineType CombineType { get; set; }
Property Value
Type Description
CombineType

Methods

Add(IFilter)

Adds a new child filter component

Declaration
public void Add(IFilter filter)
Parameters
Type Name Description
IFilter filter

The filter to be added

CancelSearch()

Cancel search

Declaration
public void CancelSearch()

IsMatch(ISessionSummary)

Determines whether the specified result is match.

Declaration
public bool IsMatch(ISessionSummary sessionSummary)
Parameters
Type Name Description
ISessionSummary sessionSummary

The session summary.

Returns
Type Description
System.Boolean

Returns true if the specified result is match; otherwise, false.

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.

Implements

IFilter
Back to top Generated by DocFX