Show / Hide Table of Contents

Class FolderFilter

Class used to create folder filter query for finding and filtering Sessions based on a folder path. Will find all Sessions within folder and create metadata in the database for each file.

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

Constructors

FolderFilter(String, Boolean)

Initialise a new instance of FolderFilter class.

Declaration
public FolderFilter(string path, bool includeInSubDirectories)
Parameters
Type Name Description
System.String path

The path to the folder to filter.

System.Boolean includeInSubDirectories

Indicates if the filter should check in sub directories

Methods

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.

Exceptions
Type Condition
System.NotImplementedException

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