16
16
using System . Threading ;
17
17
using System . Threading . Tasks ;
18
18
using System . Net . Http ;
19
- using System . Collections . Generic ;
20
19
21
20
namespace Microsoft . Azure . Commands . Common
22
21
{
@@ -31,8 +30,6 @@ namespace Microsoft.Azure.Commands.Common
31
30
/// </summary>
32
31
public class VTable
33
32
{
34
- // public object GetParameterValue(string resourceId, string moduleName, System.Management.Automation.InvocationInfo invocationInfo, string name)
35
-
36
33
/// <summary>
37
34
/// The cmdlet will call this when it is trying to fill in a parameter value that it needs
38
35
/// </summary>
@@ -41,6 +38,7 @@ public class VTable
41
38
/// <param name="invocationInfo">The <see cref="System.Management.Automation.InvocationInfo" /> from the cmdlet</param>
42
39
/// <param name="correlationId">The <see cref="string" /> containing the correlation id for the cmdlet</param>
43
40
/// <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>
44
42
public GetParameterDelegate GetParameterValue ;
45
43
46
44
/// <summary>
@@ -77,16 +75,19 @@ public class VTable
77
75
public NewRequestPipelineDelegate OnNewRequest ;
78
76
79
77
/// <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>
82
80
/// <param name="completerName">string - the type of completer requested (Resource, Location)</param>
83
81
/// <param name="invocationInfo">The <see cref="System.Management.Automation.InvocationInfo" /> from the cmdlet</param>
84
82
/// <param name="correlationId">The <see cref="string" /> containing the correlation id for the cmdlet (if available)</param>
85
83
/// <param name="resourceTypes">An <see cref="System.String[]"/> containing resource (or resource types) being completed </param >
86
84
/// <param name="parentResourceParameterNames"> An <see cref="System.String[]"/> containing list of parent resource parameter names (if applicable)</param >
87
85
/// <returns>A <c>string[]</c> containing the valid options for the completer.</returns>
88
-
89
86
public ArgumentCompleterDelegate ArgumentCompleter ;
90
- }
91
87
88
+ /// <summary>
89
+ /// The name of the currently selected Azure profile
90
+ /// </summary>
91
+ public string ProfileName { get ; internal set ; }
92
+ }
92
93
}
0 commit comments