DeadByDaylightBackup.Utility/Trigger/TriggerRegistration.cs
/// <summary>
/// Remove the trigger if it is disposed
/// </summary>
/// <param name="disposing">true if diposing</param>
Remove the trigger if it is disposed
Remove the trigger if it is disposed
protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                Creator.RemoveTrigger(this);
                if (DisposeTrigger && Target is IDisposable)
                {
                    ((IDisposable)Target).Dispose();
                }
            }
        }
protected override void Dispose ( bool disposing ) { if ( disposing ) { Creator . RemoveTrigger ( this ) ; if ( DisposeTrigger && Target is IDisposable ) { ( ( IDisposable ) Target ) . Dispose ( ) ; } } }
Remove the trigger if it is disposed
Remove the trigger if it is disposed
disposing
bool
true if diposing
true if diposing