From 71b8840df64a00c6d743727cd531a6924d56ecdd Mon Sep 17 00:00:00 2001 From: Simon G Date: Fri, 13 Nov 2020 19:04:36 +0100 Subject: [PATCH] - remove wrong comments about INotifyGBaseEntryChanged --- GBase/Exceptions/InvalidTableTypeException.cs | 8 ++++---- GBase/GBaseTable.cs | 9 ++++----- GBase/Interfaces/IGBaseTable.cs | 9 ++++----- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/GBase/Exceptions/InvalidTableTypeException.cs b/GBase/Exceptions/InvalidTableTypeException.cs index 9be6013..948b84c 100644 --- a/GBase/Exceptions/InvalidTableTypeException.cs +++ b/GBase/Exceptions/InvalidTableTypeException.cs @@ -3,21 +3,21 @@ // Copyright(c) 2020 SimonG. All Rights Reserved. using System; -using GBase.Api; +using GBase.Interfaces; namespace GBase.Exceptions { /// - /// that the passed table type doesn't implement "/> + /// that the passed table type doesn't implement "/> /// public class InvalidTableTypeException : Exception { /// - /// that the passed table type doesn't implement "/> + /// that the passed table type doesn't implement "/> /// /// The table type public InvalidTableTypeException(Type type) - : base($"Table type ({type}) doesn't implement {nameof(INotifyGBaseEntryChanged)}.") + : base($"Table type ({type}) doesn't implement {nameof(IGBaseObject)}.") { Type = type; } diff --git a/GBase/GBaseTable.cs b/GBase/GBaseTable.cs index 6571f69..5d8cfb9 100644 --- a/GBase/GBaseTable.cs +++ b/GBase/GBaseTable.cs @@ -8,7 +8,6 @@ using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; -using GBase.Api; using GBase.Attributes; using GBase.Exceptions; using GBase.Factories; @@ -176,9 +175,9 @@ namespace GBase } /// - /// Add an entry that implements to this + /// Add an entry that implements to this /// - /// The entry implementing + /// The entry implementing /// /// True if successful, false if not public async Task AddEntry(T entry, CancellationToken cancellationToken) @@ -200,9 +199,9 @@ namespace GBase } /// - /// Remove an entry that implements from this + /// Remove an entry that implements from this /// - /// The entry implementing + /// The entry implementing /// True if successful, false if not public async Task RemoveEntry(T entry) { diff --git a/GBase/Interfaces/IGBaseTable.cs b/GBase/Interfaces/IGBaseTable.cs index a43a036..505cd0f 100644 --- a/GBase/Interfaces/IGBaseTable.cs +++ b/GBase/Interfaces/IGBaseTable.cs @@ -6,7 +6,6 @@ using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using GBase.Api; namespace GBase.Interfaces { @@ -18,9 +17,9 @@ namespace GBase.Interfaces List Entries { get; } /// - /// Add an entry that implements to this + /// Add an entry that implements to this /// - /// The entry implementing + /// The entry implementing /// /// True if successful, false if not Task AddEntry(T entry, CancellationToken cancellationToken); @@ -29,9 +28,9 @@ namespace GBase.Interfaces //T GetEntry(T entry); //TODO: This doesn't make sense... (passing instance of T to get the same instance back...) /// - /// Remove an entry that implements from this + /// Remove an entry that implements from this /// - /// The entry implementing + /// The entry implementing /// True if successful, false if not Task RemoveEntry(T entry);