namespace AsterNET.Manager.Action { /// /// The StopMonitorAction ends monitoring (recording) a channel.
/// It is implemented in res/res_monitor.c ///
public class StopMonitorAction : ManagerAction { #region Action /// /// Get the name of this action, i.e. "StopMonitor". /// public override string Action { get { return "StopMonitor"; } } #endregion #region Channel /// /// Get/Set the name of the channel to end monitoring.
/// This property is mandatory. ///
public string Channel { get; set; } #endregion #region StopMonitorAction() /// /// Creates a new empty StopMonitorAction. /// public StopMonitorAction() { } #endregion #region StopMonitorAction(string channel) /// /// Creates a new StopMonitorAction that ends monitoring of the given channel. /// public StopMonitorAction(string channel) { this.Channel = channel; } #endregion } }