mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2024-12-29 11:17:07 +00:00
41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
using System;
|
|
|
|
namespace FileHelpers
|
|
{
|
|
|
|
/// <summary>The condition used to include or exclude each record.</summary>
|
|
public enum RecordCondition
|
|
{
|
|
/// <summary>No Condition, Include it always.</summary>
|
|
None = 0,
|
|
|
|
/// <summary>Include the record if it contains the selector string.</summary>
|
|
IncludeIfContains,
|
|
/// <summary>Include the record if it begins with selector string.</summary>
|
|
IncludeIfBegins,
|
|
/// <summary>Include the record if it ends with selector string.</summary>
|
|
IncludeIfEnds,
|
|
/// <summary>Include the record if it begins and ends with selector string.</summary>
|
|
IncludeIfEnclosed,
|
|
#if ! MINI
|
|
/// <summary>Include the record if it matchs the regular expression passed as selector.</summary>
|
|
IncludeIfMatchRegex,
|
|
#endif
|
|
|
|
/// <summary>Exclude the record if it contains the selector string.</summary>
|
|
ExcludeIfContains,
|
|
/// <summary>Exclude the record if it begins with selector string.</summary>
|
|
ExcludeIfBegins,
|
|
/// <summary>Exclude the record if it ends with selector string.</summary>
|
|
ExcludeIfEnds,
|
|
/// <summary>Exclude the record if it begins and ends with selector string.</summary>
|
|
ExcludeIfEnclosed
|
|
#if ! MINI
|
|
,
|
|
/// <summary>Exclude the record if it matchs the regular expression passed as selector.</summary>
|
|
ExcludeIfMatchRegex
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|