예제 #1
0
 /// <summary>
 /// Creates a new writing system with the default configuration.
 /// </summary>
 public WritingSystem()
 {
     _alphabet = new[]
     {
         'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
         'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
     };
     _space     = " ";
     Quotations = new QuotationMarks();
 }
예제 #2
0
 /// <summary>
 /// Creates a new writing system with the specified configuration.
 /// </summary>
 /// <param name="alphabet">The alphabet to use.</param>
 /// <param name="space">The standard space to use.</param>
 /// <param name="quotations">The quotation marks to use.</param>
 public WritingSystem(IEnumerable <char> alphabet, string space, QuotationMarks quotations)
 {
     _alphabet  = alphabet.ToArray();
     _space     = space;
     Quotations = quotations;
 }