PSClassUtils icon indicating copy to clipboard operation
PSClassUtils copied to clipboard

A set of utilities to work with Powershell Classes

Results 57 PSClassUtils issues
Sort by recently updated
recently updated
newest added

Given the following powershell module ```powershell Enum ComputerType { Server Client } Class Computer { [String]$Name [ComputerType]$Type } Function Get-InternalStuff { #Does internal stuff } Function Get-ComputerData { #Does stuff...

bug

```powershell Enum ComputerType { Server Client } Class Computer { [String]$Name [ComputerType]$Type } Function Get-InternalStuff { #Does internal stuff } Function Get-ComputerData { #Does stuff } Export-ModuleMember -Function Get-ComputerData ```...

bug

In title ```powershell > gci C:\modules\PSHTML\Code\Classes | Get-CUEnum throw : The term 'throw' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the...

bug
enhancement

# Reproduction ```powershell Write-CUClassDiagram -Path C:\Modules\PSHTML\Code\Classes\003.pshtml.components.charts.ps1 -Show -IgnoreCase -ShowComposition ``` ```powershell > Write-CUClassDiagram -Path C:\Users\taavast3\OneDrive\Repo\Projects\OpenSource\PSHTML\Code\Classes\003.pshtml.components.charts.ps1 -Show -IgnoreCase -ShowComposition Warning: node datasetpie, port Row_HoverBorderColor unrecognized Warning: node datasetDoughnut, port Row_HoverBorderColor unrecognized...

bug

The cmdlet is very big, and contains a lot of repetitive code. It also calls two child functions, which are probably not necessary (New-GraphPArameters and New-CUGraphExport) ## New-CUGraphParameters - Doesnt...

While refactoring, I tested a few things, I noticed that we dont have all OutputFormat types. And then also some that are actually not supported by Graphviz (or is it...

bug

Currently: ![image](https://user-images.githubusercontent.com/6302961/54070864-fa4d2280-4265-11e9-90c2-e9cfaddcd470.png)

tests

![image](https://user-images.githubusercontent.com/6302961/52425569-93b8d580-2afc-11e9-8e07-1e4d83cb8808.png)

bug

In my class I use an ENUM "company" which is stored in a ps1 file. In the file pester during the test "It '[User] - [Constructor]" he expects a parameter...

bug

Quand tu fais dans tes tests Pester un (Get-Command Install-CUDiagramPrerequisites).Parameters.keys -contains "proxy" le résultat est toujours vrai quelque soit la valeur que tu mets à la place de proxy. Pour...