忽略powershell c#cmdlet输出中的类属性

时间:2017-07-25 20:37:53

标签: c# powershell cmdlet

我正在使用System.Management.Automation dll在c#中创建一个powershell cmdlet并使用WriteObject来显示输出..是否有像NewtonSoft.Json中的JsonIgnore属性这样的选项,它排除了在shell中显示的属性

0 个答案:

没有答案