Interfaces for ReportingSystem
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
bin/
|
||||
obj/
|
||||
/packages/
|
||||
riderModule.iml
|
||||
/_ReSharper.Caches/
|
||||
8
Interfaces/IReportable.cs
Normal file
8
Interfaces/IReportable.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Interfaces;
|
||||
|
||||
public interface IReportable
|
||||
{
|
||||
public string ModuleName { get; }
|
||||
public int ModuleID { get; }
|
||||
public int EntityID { get; }
|
||||
}
|
||||
6
Interfaces/IReportingHandler.cs
Normal file
6
Interfaces/IReportingHandler.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Interfaces;
|
||||
|
||||
public interface IReportingHandler
|
||||
{
|
||||
public void Report(IReportable reportable);
|
||||
}
|
||||
9
Interfaces/Interfaces.csproj
Normal file
9
Interfaces/Interfaces.csproj
Normal file
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
3
SZUAbsolventenverein.slnx
Normal file
3
SZUAbsolventenverein.slnx
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution>
|
||||
<Project Path="Interfaces/Interfaces.csproj" />
|
||||
</Solution>
|
||||
Reference in New Issue
Block a user