namespace AsterNET.Manager.Action { /// /// The MailboxStatusAction checks if a mailbox contains waiting messages.
/// The MailboxStatusAction returns a MailboxStatusResponse. ///
/// public class MailboxStatusAction : ManagerAction { /// /// Creates a new empty MailboxStatusAction. /// public MailboxStatusAction() { } /// /// Creates a new MailboxStatusAction that checks for waiting messages in the given mailbox. /// /// /// the name of the mailbox to check.
/// This can either be only the number of the mailbox or a string /// of the form mailboxnumber@context.If no context is specified /// "default" is assumed. /// public MailboxStatusAction(string mailbox) { Mailbox = mailbox; } /// /// Get the name of this action, i.e. "MailboxStatus". /// public override string Action { get { return "MailboxStatus"; } } /// /// Get/Set the name of the mailbox to query.
/// This can either be only the name of the mailbox or a string of the form /// mailboxnumber@context. If no context is specified "default" is assumed.
/// Multiple mailboxes may be given, separated by ','. In this case the /// action checks whether at least one of the given mailboxes has waiting /// messages.
/// This property is mandatory.
/// Example: "1234,1235@mycontext" ///
public string Mailbox { get; set; } } }