This commit is contained in:
Meik
2026-03-05 09:56:57 +01:00
parent 838e6b1ee1
commit 4013fa8e32
827 changed files with 743038 additions and 0 deletions

19
libs/Disposer.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C4IT_CustomerPanel.libs
{
static class Disposer
{
public static void DisposeAll(this Object clx)
{
IDisposable disposeable = clx as IDisposable;
if (disposeable != null)
disposeable.Dispose();
}
}
}