From a4822183d59669f2623dd0d508b512344fc7e1d4 Mon Sep 17 00:00:00 2001 From: Simon Gockner Date: Mon, 9 Mar 2020 10:35:55 +0100 Subject: [PATCH] - subscribe to NotifyEntryChanged --- GBase/GBaseTable.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/GBase/GBaseTable.cs b/GBase/GBaseTable.cs index 583a6ab..7e19fe2 100644 --- a/GBase/GBaseTable.cs +++ b/GBase/GBaseTable.cs @@ -8,6 +8,7 @@ using System.IO; using System.Reflection; using System.Threading; using System.Threading.Tasks; +using GBase.Api; using GBase.Attributes; using GBase.Factories; using GBase.FileHandling.Factories; @@ -34,8 +35,11 @@ namespace GBase Columns = new List(); Entries = new List(); + + INotifyGBaseEntryChanged.GBaseEntryChanged += OnGBaseEntryChanged; } + /// /// The of the class that this represents /// @@ -115,6 +119,16 @@ namespace GBase return Columns.Remove(column); } + /// + /// A entry changed + /// + /// The sender + /// The + private void OnGBaseEntryChanged(object sender, GBaseEntryChangedEventArgs args) + { + //TODO: Implement function, depending on #23 + } + /// /// The method ///