diff --git a/GBase.Api/GBaseEntryChangedEventArgs.cs b/GBase.Api/GBaseEntryChangedEventArgs.cs
index 8e2f077..8fcd09b 100644
--- a/GBase.Api/GBaseEntryChangedEventArgs.cs
+++ b/GBase.Api/GBaseEntryChangedEventArgs.cs
@@ -11,13 +11,25 @@ namespace GBase.Api
///
public class GBaseEntryChangedEventArgs : EventArgs //TODO: Rename to GBaseValueChanged or EntryUpdated?
{
+ ///
+ /// for the event
+ ///
+ /// The name of the IGBaseColumn
+ /// The new value
public GBaseEntryChangedEventArgs(string columnName, object value)
{
ColumnName = columnName;
Value = value;
}
+ ///
+ /// The name of the IGBaseColumn
+ ///
public string ColumnName { get; }
+
+ ///
+ /// The new value
+ ///
public object Value { get; }
}
}
\ No newline at end of file
diff --git a/GBase.Api/INotifyGBaseEntryChanged.cs b/GBase.Api/INotifyGBaseEntryChanged.cs
index 220f750..fb73c51 100644
--- a/GBase.Api/INotifyGBaseEntryChanged.cs
+++ b/GBase.Api/INotifyGBaseEntryChanged.cs
@@ -11,6 +11,9 @@ namespace GBase.Api
///
public interface INotifyGBaseEntryChanged
{
+ ///
+ /// Notify the GBase that an entry has changed
+ ///
static event EventHandler GBaseEntryChanged;
}
}
\ No newline at end of file
diff --git a/GBase.Api/NotifyGBaseEntryChanged.cs b/GBase.Api/NotifyGBaseEntryChanged.cs
index 87f3985..5c78c67 100644
--- a/GBase.Api/NotifyGBaseEntryChanged.cs
+++ b/GBase.Api/NotifyGBaseEntryChanged.cs
@@ -11,13 +11,26 @@ namespace GBase.Api
///
public abstract class NotifyGBaseEntryChanged : INotifyGBaseEntryChanged //TODO: Rename to GBaseValueChanged or EntryUpdated?
{
+ ///
+ /// Notify the GBase that an entry has changed
+ ///
public event EventHandler GBaseEntryChanged;
- protected void RaiseGBaseEntryChanged(object sender, string propertyName, object value)
+ ///
+ /// Raise the event
+ ///
+ /// The sender
+ /// The name of the IGBaseColumn
+ /// The new value
+ protected void RaiseGBaseEntryChanged(object sender, string columnName, object value)
{
- GBaseEntryChanged?.BeginInvoke(sender, new GBaseEntryChangedEventArgs(propertyName, value), GBaseEntryChangedCallback, null);
+ GBaseEntryChanged?.BeginInvoke(sender, new GBaseEntryChangedEventArgs(columnName, value), GBaseEntryChangedCallback, null);
}
+ ///
+ /// Callback for the event
+ ///
+ /// The
private void GBaseEntryChangedCallback(IAsyncResult asyncResult)
{
GBaseEntryChanged?.EndInvoke(asyncResult); //TestMe: Does this work? Or is there something to be done with the asyncResult