1616using System . Threading ;
1717using System . Threading . Tasks ;
1818using System . Net . Http ;
19- using System . Collections . Generic ;
2019
2120namespace Microsoft . Azure . Commands . Common
2221{
@@ -31,8 +30,6 @@ namespace Microsoft.Azure.Commands.Common
3130 /// </summary>
3231 public class VTable
3332 {
34- // public object GetParameterValue(string resourceId, string moduleName, System.Management.Automation.InvocationInfo invocationInfo, string name)
35-
3633 /// <summary>
3734 /// The cmdlet will call this when it is trying to fill in a parameter value that it needs
3835 /// </summary>
@@ -41,6 +38,7 @@ public class VTable
4138 /// <param name="invocationInfo">The <see cref="System.Management.Automation.InvocationInfo" /> from the cmdlet</param>
4239 /// <param name="correlationId">The <see cref="string" /> containing the correlation id for the cmdlet</param>
4340 /// <param name="name">The <see cref="string" /> parameter name being asked for</param>
41+ /// <example>public object GetParameterValue(string resourceId, string moduleName, System.Management.Automation.InvocationInfo invocationInfo, string name)</example>
4442 public GetParameterDelegate GetParameterValue ;
4543
4644 /// <summary>
@@ -77,16 +75,19 @@ public class VTable
7775 public NewRequestPipelineDelegate OnNewRequest ;
7876
7977 /// <summary>
80- /// Called for well-known parameters that require argument completers
81- /// </summary>
78+ /// Called for well-known parameters that require argument completers
79+ /// </summary>
8280 /// <param name="completerName">string - the type of completer requested (Resource, Location)</param>
8381 /// <param name="invocationInfo">The <see cref="System.Management.Automation.InvocationInfo" /> from the cmdlet</param>
8482 /// <param name="correlationId">The <see cref="string" /> containing the correlation id for the cmdlet (if available)</param>
8583 /// <param name="resourceTypes">An <see cref="System.String[]"/> containing resource (or resource types) being completed </param >
8684 /// <param name="parentResourceParameterNames"> An <see cref="System.String[]"/> containing list of parent resource parameter names (if applicable)</param >
8785 /// <returns>A <c>string[]</c> containing the valid options for the completer.</returns>
88-
8986 public ArgumentCompleterDelegate ArgumentCompleter ;
90- }
9187
88+ /// <summary>
89+ /// The name of the currently selected Azure profile
90+ /// </summary>
91+ public string ProfileName { get ; internal set ; }
92+ }
9293}
0 commit comments