using System;
namespace Yavsc.Model.WorkFlow
{
///
/// Order status changed event arguments.
///
public class OrderStatusChangedEventArgs: EventArgs
{
///
/// Initializes a new instance of the class.
///
/// Oldstatus.
/// Newstatus.
/// Reason.
public OrderStatusChangedEventArgs (int oldstatus, int newstatus, string reason)
{
oldstat = oldstatus;
newstat = newstatus;
}
private int oldstat, newstat;
///
/// Gets the old status.
///
/// The old status.
public int OldStatus { get { return oldstat; } }
///
/// Gets the new status.
///
/// The new status.
public int NewStatus { get { return newstat; } }
}
}