You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
35 lines
1.0 KiB
// Author: Gockner, Simon
|
|
// Created: 2020-03-06
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
|
|
namespace GBase.Api
|
|
{
|
|
/// <summary>
|
|
/// <see cref="EventArgs"/> for the <see cref="INotifyGBaseEntryChanged"/> event
|
|
/// </summary>
|
|
public class GBaseEntryChangedEventArgs : EventArgs //TODO: Rename to GBaseValueChanged or EntryUpdated?
|
|
{
|
|
/// <summary>
|
|
/// <see cref="EventArgs"/> for the <see cref="INotifyGBaseEntryChanged"/> event
|
|
/// </summary>
|
|
/// <param name="columnName">The name of the IGBaseColumn</param>
|
|
/// <param name="value">The new value</param>
|
|
public GBaseEntryChangedEventArgs(string columnName, object value)
|
|
{
|
|
ColumnName = columnName;
|
|
Value = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The name of the IGBaseColumn
|
|
/// </summary>
|
|
public string ColumnName { get; }
|
|
|
|
/// <summary>
|
|
/// The new value
|
|
/// </summary>
|
|
public object Value { get; }
|
|
}
|
|
} |