namespace ElmSharp
{
+ /// <summary>
+ /// It inherits System.EventArgs.
+ /// The DateChanged event in Calendar and DateTimeChanged event in DateTimeSelector.
+ /// contain DateChangedEventArgs as a parameter.
+ /// </summary>
public class DateChangedEventArgs : EventArgs
{
+ /// <summary>
+ /// Gets the OldDate property of the given DateChangedEventArgs.
+ /// </summary>
public DateTime OldDate { get; private set; }
+ /// <summary>
+ /// Gets the NewDate property of the given DateChangedEventArgs.
+ /// </summary>
public DateTime NewDate { get; private set; }
+ /// <summary>
+ /// Creates and initializes a new instance of the DateChangedEventArgs class.
+ /// </summary>
+ /// <param name="oldDate">
+ /// Old date when DateChanged event or DateTimeChanged event triggered
+ /// </param>
+ /// <param name="newDate">
+ /// New date when DateChanged event or DateTimeChanged event triggered
+ /// </param>
public DateChangedEventArgs(DateTime oldDate, DateTime newDate)
{
this.OldDate = oldDate;