src/System.Management.Automation/engine/hostifaces/HostUtilities.cs
/// <summary>
/// Create suggestion with scriptblock rule and scriptblock suggestion with arguments.
/// </summary>
Create suggestion with scriptblock rule and scriptblock suggestion with arguments.
Create suggestion with scriptblock rule and scriptblock suggestion with arguments .
private static Hashtable NewSuggestion(int id, string category, SuggestionMatchType matchType, ScriptBlock rule, ScriptBlock suggestion, object[] suggestionArgs, bool enabled)
        {
            Hashtable result = NewSuggestion(id, category, matchType, rule, suggestion, enabled);
            result.Add("SuggestionArgs", suggestionArgs);
            return result;
        }
private static Hashtable NewSuggestion ( int id , string category , SuggestionMatchType matchType , ScriptBlock rule , ScriptBlock suggestion , object [ ] suggestionArgs , bool enabled ) { Hashtable result = NewSuggestion ( id , category , matchType , rule , suggestion , enabled ) ; result . Add ( " " , suggestionArgs ) ; return result ; }
Create suggestion with scriptblock rule and scriptblock suggestion with arguments.
Create suggestion with scriptblock rule and scriptblock suggestion with arguments .
id
int
category
string
matchType
SuggestionMatchType
rule
ScriptBlock
suggestion
ScriptBlock
suggestionArgs
object[]
enabled
bool