Show / Hide Table of Contents

Class FilesFilter

Class used to create files 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
FilesFilter
Implements
IFilter
Namespace: MESL.SqlRace.Domain.Query
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class FilesFilter : Object, IFilter

Constructors

FilesFilter(IList<String>)

Initialise a new instance of FolderFilter class.

Declaration
public FilesFilter(IList<string> filesPath)
Parameters
Type Name Description
System.Collections.Generic.IList<System.String> filesPath

The path to the folder to filter.

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