Пример #1
0
 public IcuBreakIterator(Icu.BreakIterator.UBreakIteratorType type, CultureInfo locale)
 {
     if (locale == null)
     {
         throw new ArgumentNullException("locale");
     }
     this.locale = new Icu.Locale(locale.Name);
     this.type   = type;
 }
Пример #2
0
 public IcuBreakIterator(Icu.BreakIterator.UBreakIteratorType type)
     : this(type, CultureInfo.CurrentCulture)
 {
 }