ClassExplorer.psm1
|
if (-not $PSVersionTable.PSEdition -or $PSVersionTable.PSEdition -eq 'Desktop') { Import-Module "$PSScriptRoot/bin/Legacy/ClassExplorer.dll" } else { Import-Module "$PSScriptRoot/bin/Modern/ClassExplorer.dll" } if (-not $env:CLASS_EXPLORER_TRUE_CHARACTER) { $env:CLASS_EXPLORER_TRUE_CHARACTER = '+' } Update-FormatData -PrependPath $PSScriptRoot\ClassExplorer.format.ps1xml Update-TypeData -PrependPath $PSScriptRoot\ClassExplorer.types.ps1xml -ErrorAction Ignore Export-ModuleMember -Cmdlet Find-Type, Find-Member, Format-MemberSignature, Get-Assembly, Get-Parameter, Invoke-Member, Get-AssemblyLoadContext -Alias * |