public override IEnumerable <CompletionResult> CompleteArgument(string commandName, string parameterName, string wordToComplete, CommandAst commandAst, IDictionary fakeBoundParameters) { var values = new List <CompletionResult>(); var timeZones = TimeZones.GetTimeZones(); SelectValues(wordToComplete, timeZones, values); return(values); }
internal static IEnumerable <string> GetTimeZoneIds() { return(TimeZones.GetTimeZones().Keys.ToList()); }