From 5c806421e0b89ce5ae241c7df77bc9d309e88fca Mon Sep 17 00:00:00 2001 From: KoCoder Date: Thu, 12 Feb 2026 09:33:00 +0100 Subject: [PATCH] Interfaces for ReportingSystem --- .gitignore | 5 +++++ Interfaces/IReportable.cs | 8 ++++++++ Interfaces/IReportingHandler.cs | 6 ++++++ Interfaces/Interfaces.csproj | 9 +++++++++ SZUAbsolventenverein.slnx | 3 +++ 5 files changed, 31 insertions(+) create mode 100644 .gitignore create mode 100644 Interfaces/IReportable.cs create mode 100644 Interfaces/IReportingHandler.cs create mode 100644 Interfaces/Interfaces.csproj create mode 100644 SZUAbsolventenverein.slnx diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..add57be --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +bin/ +obj/ +/packages/ +riderModule.iml +/_ReSharper.Caches/ \ No newline at end of file diff --git a/Interfaces/IReportable.cs b/Interfaces/IReportable.cs new file mode 100644 index 0000000..870bcd2 --- /dev/null +++ b/Interfaces/IReportable.cs @@ -0,0 +1,8 @@ +namespace Interfaces; + +public interface IReportable +{ + public string ModuleName { get; } + public int ModuleID { get; } + public int EntityID { get; } +} \ No newline at end of file diff --git a/Interfaces/IReportingHandler.cs b/Interfaces/IReportingHandler.cs new file mode 100644 index 0000000..0dca792 --- /dev/null +++ b/Interfaces/IReportingHandler.cs @@ -0,0 +1,6 @@ +namespace Interfaces; + +public interface IReportingHandler +{ + public void Report(IReportable reportable); +} \ No newline at end of file diff --git a/Interfaces/Interfaces.csproj b/Interfaces/Interfaces.csproj new file mode 100644 index 0000000..237d661 --- /dev/null +++ b/Interfaces/Interfaces.csproj @@ -0,0 +1,9 @@ + + + + net10.0 + enable + enable + + + diff --git a/SZUAbsolventenverein.slnx b/SZUAbsolventenverein.slnx new file mode 100644 index 0000000..6177722 --- /dev/null +++ b/SZUAbsolventenverein.slnx @@ -0,0 +1,3 @@ + + +