protected override void ProcessRecord() { var result = AudioAnalyzerManager.GetAnalyzerInfo(); ProcessLogMessages(); WriteObject(result, true); }
public IEnumerable <CompletionResult> CompleteArgument( string commandName, string parameterName, string wordToComplete, CommandAst commandAst, IDictionary fakeBoundParameters) { var pattern = new WildcardPattern($"{wordToComplete}*", WildcardOptions.IgnoreCase); return(AudioAnalyzerManager.GetAnalyzerInfo() .Where(info => pattern.IsMatch(info.Name)) .Select(info => new CompletionResult( info.Name, info.Name, CompletionResultType.ParameterValue, info.Description))); }