Пример #1
0
 public Whisper(string from, string to, string message)
 {
     this.From       = from;
     this.To         = to;
     this.Message    = message;
     this.FailReason = Whisper.WhisperResult.LogicalFail;
 }
Пример #2
0
        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;
        }