Class Wordlist
Inheritance
System.Object
Wordlist
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.Core.dll
public class Wordlist : ICloneable
Constructors
Declaration
Declaration
public Wordlist(SearchOption flags)
Parameters
Declaration
public Wordlist(Wordlist other)
Parameters
Properties
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public SearchOption Flags { get; }
Property Value
Declaration
public IEnumerable<string> Items { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Declaration
public int Version { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public bool Add(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static void CleanupList(string inputFileName, string outputFileName, bool ignoreComments = true)
Parameters
Type |
Name |
Description |
System.String |
inputFileName |
|
System.String |
outputFileName |
|
System.Boolean |
ignoreComments |
|
Declaration
Declaration
Returns
Type |
Description |
System.Object |
|
Declaration
public bool Contains(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
Returns
Type |
Description |
System.Byte[] |
|
Declaration
public string GetRegularExpression(out CharacterSet first)
Parameters
Returns
Type |
Description |
System.String |
|
Declaration
public void Load(byte[] data, bool ignoreComments = true)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Boolean |
ignoreComments |
|
Declaration
public void Load(Stream stream, bool ignoreComments = true)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Boolean |
ignoreComments |
|
Declaration
public void Load(string filename, bool ignoreComments = true)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Boolean |
ignoreComments |
|
Declaration
public void Merge(Wordlist other)
Parameters
Declaration
public static Wordlist Merge(IEnumerable<Wordlist> wordLists)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Wordlist> |
wordLists |
|
Returns
Declaration
public bool Remove(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.Boolean |
|
Save(TextWriter)
Declaration
public void Save(TextWriter writer)
Parameters
Type |
Name |
Description |
System.IO.TextWriter |
writer |
|
Implements
System.ICloneable