namespace Neo.Afx.WinService.Messages { public interface ISmsSender { /// /// Gets the number of credits remaining. /// int Credits { get; } /// /// Sends the given message to the given cell number. /// /// The message to be sent. /// The cell number to which the message is sent. /// /// When this method returns, contains the error message if /// the SMS was not sent successfully; otherwise contains a null references. /// /// /// true if successful; false otherwise. /// bool Send(string message, string cellNumber, out string error); } }