bfr/BFR/Operations/ReplaceMode.cs

15 lines
423 B
C#
Raw Normal View History

namespace BFR.Operations
{
public class ReplaceMode : OperationMode
{
public bool IsPatternMode => Index == 0;
public bool IsCharactersMode => Index == 1;
public bool IsFromNToNMode => Index == 2;
public bool IsFirstNMode => Index == 3;
public bool IsLastNMode => Index == 4;
public ReplaceMode(int index, string name) :
base(index, name) { }
}
}