mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
400 B
17 lines
400 B
using System; |
|
using System.Management.Automation; |
|
|
|
using ICSharpCode.Decompiler.TypeSystem; |
|
|
|
namespace ICSharpCode.Decompiler.PowerShell |
|
{ |
|
[Cmdlet(VerbsCommon.Get, "DecompilerVersion")] |
|
[OutputType(typeof(string))] |
|
public class GetDecompilerVersion : PSCmdlet |
|
{ |
|
protected override void ProcessRecord() |
|
{ |
|
WriteObject(typeof(FullTypeName).Assembly.GetName().Version.ToString()); |
|
} |
|
} |
|
}
|
|
|