Example #1
0
 public EnumTabCompletionSource(Type parseType)
     : base(parseType)
 {
     manager = new CycledCompletionManager();
 }
Example #2
0
 /// <summary>
 /// Creates a new completion source given an enumeration of string candidates
 /// </summary>
 /// <param name="candidates"></param>
 public SimpleTabCompletionSource(IEnumerable<string> candidates)
 {
     this.globalCandidates = candidates.OrderBy(s => s);
     this.manager = new CycledCompletionManager();
     this.MinCharsBeforeCyclingBegins = 3;
 }