namespace AsterNET.Manager.Event
{
///
/// A RenameEvent is triggered when the name of a channel is changed.
/// It is implemented in channel.c
///
public class RenameEvent : ManagerEvent
{
protected internal string oldName;
protected internal string newName;
///
/// Get/Set the new name of the channel.
///
public string NewName
{
get { return newName; }
set { this.newName = value; }
}
///
/// Get/Set the old name of the channel.
///
public string OldName
{
get { return oldName; }
set { this.oldName = value; }
}
public RenameEvent(ManagerConnection source)
: base(source)
{
}
}
}