Files
ILSpy/ICSharpCode.Decompiler.PowerShell/Demo.ps1
T
2017-11-06 07:48:22 +01:00

15 lines
462 B
PowerShell

Import-Module .\bin\Debug\netstandard2.0\ICSharpCode.Decompiler.Powershell.dll
$decompiler = Get-Decompiler .\bin\Debug\netstandard2.0\ICSharpCode.Decompiler.Powershell.dll
$classes = Get-DecompiledTypes $decompiler -Types class
$classes.Count
foreach ($c in $classes)
{
Write-Output $c.FullName
}
Get-DecompiledSource $decompiler -TypeName ICSharpCode.Decompiler.Powershell.GetDecompilerCmdlet
Get-DecompiledProject $decompiler -OutputPath .\decomptest