Source/Events/CustomEvents.ps1
|
using namespace System Set-StrictMode -Version Latest ############################################################################### # # CUSTOM EVENTS # # DEFINES CUSTOM SOURCE IDENTIFIERS FOR EVENTS. # ############################################################################### Class CustomEvents { Static [String]$BadPSEdition = 'Bad PS Edition' Static [String]$BufferWidthTooSmall = 'Buffer Width Too Small' Static [String]$BufferHeightTooSmall = 'Buffer Height Too Small' Static [String]$BadContext = 'Bad Context' Static [String]$UnsupportedOS = 'Unsupported OS' Static [String]$MediaError = 'Media Error' } |