Private/RepositoryInfo.psm1
class RepositoryInfo { # Optionally, add attributes to prevent invalid values [ValidateNotNullOrEmpty()][string]$Name [ValidateNotNullOrEmpty()][string]$State [ValidateNotNullOrEmpty()][System.IO.DirectoryInfo]$DirectoryInfo [string]$RemoteOrigin [ValidateNotNullOrEmpty()][bool]$Commit [ValidateNotNullOrEmpty()][bool]$Push [ValidateNotNullOrEmpty()][bool]$Local [ValidateNotNullOrEmpty()][string]$FullName } |