ps/Modules/Cole.PowerShell.Developer/Public/Trace-ClearActions.ps1
2023-05-30 22:51:22 -07:00

11 lines
354 B
PowerShell

function Trace-ClearActions {
<#
.SYNOPSIS
Clear all trace actions in the global state
#>
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '', Justification = 'Clearing global state')]
[CmdletBinding()]
param ()
$global:TraceActionList = New-Object -TypeName "System.Collections.ArrayList"
}