public Whisper(string from, string to, string message) { this.From = from; this.To = to; this.Message = message; this.FailReason = Whisper.WhisperResult.LogicalFail; }
public override IEnumerable <object> Run() { base.Finished = true; Whisper.WhisperResult result = this.Service.WhisperToAll(base.Operation.From, base.Entity.Entity.ID, base.Operation.To, base.Operation.Message); yield return(result); yield break; }