Beispiel #1
0
 public EnumeratedPropertyHolder(ICollection <string> enumeratedValues)
 {
     values    = (string[])(new List <string>(enumeratedValues)).ToArray();
     completer = new NameCompleter(enumeratedValues.GetEnumerator());
 }
Beispiel #2
0
 public EnumeratedPropertyHolder(string[] enumeratedValues)
 {
     values    = enumeratedValues;
     completer = new NameCompleter(enumeratedValues);
 }
Beispiel #3
0
            public NameEnumerator(NameCompleter completer, string partialName)
            {
                enumerator = SubsetCollection <string> .Tail(completer.nameSet, partialName).GetEnumerator();

                namePattern = partialName;
            }