We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff7035 commit 692976dCopy full SHA for 692976d
src/ResourceManager/Compute/Commands.Compute/Strategies/AsyncCmdletExtensions.cs
@@ -45,21 +45,6 @@ public CmdletWrap(T cmdlet)
45
_Cmdlet = cmdlet;
46
}
47
48
- public IEnumerable<KeyValuePair<string, object>> Parameters
49
- {
50
- get
51
52
- var psName = _Cmdlet.ParameterSetName;
53
- return typeof(T)
54
- .GetProperties()
55
- .Where(p => p
56
- .GetCustomAttributes(false)
57
- .OfType<ParameterAttribute>()
58
- .Any(a => a.ParameterSetName == psName))
59
- .Select(p => new KeyValuePair<string, object>(p.Name, p.GetValue(_Cmdlet)));
60
- }
61
62
-
63
public bool WhatIf
64
=> _Cmdlet.MyInvocation.BoundParameters.ContainsKey("WhatIf");
65
0 commit comments