public WordListNoAttributes(WordListFactory wlf, string path, string nameSuffix, string rootName, string itemName) : base(wlf, path) { NameSuffix = nameSuffix; RootName = rootName; ItemName = itemName; }
public WordListBase(WordListFactory wlf, string path, bool CanFind = false) { _canFind = CanFind; _originalFullName = Path.GetFullPath(path); _xmlWriterSettings = new XmlWriterSettings { CloseOutput = true, Encoding = wlf.XmlEncoding, Indent = true, OmitXmlDeclaration = true }; wlf.WordLists.Add(this); _factory = wlf; }
public Main() { InitializeComponent(); Icon = Properties.Resources.FormIcon; _log = new Logger(textBoxTerminal); _wlf = new WordListFactory(_log); }
public Main() { InitializeComponent(); Icon = Properties.Resources.FormIcon; _log = new Logger(textBoxTerminal); _wlf = new WordListFactory(_log); var osPlatform = (int)Environment.OSVersion.Platform; var isLikeWindows = !(osPlatform == 4 || osPlatform == 6 || osPlatform == 128); FileNameEquals = isLikeWindows ? new StringEquals(StringEqualsOrdinalIgnoreCase) : new StringEquals(StringEqualsOrdinal); }
public OcrFixReplaceList(WordListFactory wlf, string path) : base(wlf, path) { }
public NoBreakAfterList(WordListFactory wlf, string path) : base(wlf, path) { }
public NamesEtcList(WordListFactory wlf, string path) : base(wlf, path, NameSuffix, RootName, ItemName) { }
public OcrFixReplaceList(WordListFactory wlf, string path) : base(wlf, path, CanFind: true) { }
public WordListBase(WordListFactory wlf, string path) { _originalFullName = Path.GetFullPath(path); wlf.WordLists.Add(this); _factory = wlf; }