// Token: 0x0600165A RID: 5722 RVA: 0x000546AC File Offset: 0x000528AC private void DecodeKeyProperties(object sender, EventArgs e) { if (!this.NeedEncodeDecodeKeyProperties) { return; } string invocationName = this.context.InvocationInfo.InvocationName; PropertyBag fields = this.context.InvocationInfo.Fields; PswsPropertyConverterModule.DecodeKeyProperties(invocationName, fields); }
// Token: 0x06001658 RID: 5720 RVA: 0x00054594 File Offset: 0x00052794 public static void DecodeKeyProperties(string cmdletName, PropertyBag inputFields) { List <string> propertiesNeedUrlTokenInputDecode = PswsKeyProperties.GetPropertiesNeedUrlTokenInputDecode(cmdletName); foreach (string key in propertiesNeedUrlTokenInputDecode) { if (inputFields.IsModified(key)) { object obj = inputFields[key]; IIdentityParameter value; if (obj != null && PswsPropertyConverterModule.TryDecodeIIdentityParameter((IIdentityParameter)obj, out value)) { inputFields[key] = value; } } } }