mirror of
https://github.com/Lendaia/oe-alga-feladatok.git
synced 2026-04-23 12:26:07 +01:00
by ricsi
This commit is contained in:
22
ALGA_heti_feladatok/Engine/Kivetelek.cs
Normal file
22
ALGA_heti_feladatok/Engine/Kivetelek.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace OE.ALGA.Engine
|
||||
{
|
||||
public class UtkozesKivetel : Exception
|
||||
{
|
||||
public TerkepElem Forras { get; set; }
|
||||
public TerkepElem Utkozes { get; set; }
|
||||
|
||||
public UtkozesKivetel(TerkepElem forras, TerkepElem utkozes)
|
||||
{
|
||||
this.Forras = forras;
|
||||
this.Utkozes = utkozes;
|
||||
}
|
||||
}
|
||||
|
||||
public class NemLehetIdeLepniKivetel : UtkozesKivetel
|
||||
{
|
||||
public NemLehetIdeLepniKivetel(TerkepElem forras, TerkepElem utkozes) : base(forras, utkozes)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user