Stephanevg / PSClassUtils

A set of utilities to work with Powershell Classes
http://powershelldistrict.com/how-to-generate-a-uml-diagram-using-powershell/
92 stars 23 forks source link

Get-CUClassMethod : Add parameter -MethodName #52

Closed Stephanevg closed 5 years ago

Stephanevg commented 5 years ago

Add support to filter on specific Method.

This filter should work either with -Path, or with -Raw

LxLeChat commented 5 years ago

it's working

PS C:\Users\Lx\GitPerso\PSClassUtils> dir -r | Get-CUClassMethod -MethodName isstatic | ft

ClassName     Name     ReturnType Parameter Static
---------     ----     ---------- --------- ------
CUClassMethod IsStatic [Bool]     {}         False
CUClassMethod IsStatic [Bool]     {}         False