我发现 powershell 有类,我正在尝试使用私有类成员。我知道有隐藏的类成员,但我需要在我的项目中使用 private。如何在 PowerShell 中创建私有类成员?
powershell class powershell-5.0
class ×1
powershell ×1
powershell-5.0 ×1