コード例 #1
0
        private void SendMessage(string message, PipeToSampleStatusCode pipeToSampleStatus = PipeToSampleStatusCode.Normal)
        {
            //create the message instance
            var consoleMsg = StatusMessageHelper.CreateMessage(message, pipeToSampleStatus);

            //Select the ConsoleWriterActor and send it a message
            Context.ActorSelection(_consoleWriterActorPath).Tell(consoleMsg);
        }
コード例 #2
0
 public ConsoleWriteTaskCompleteMessage(string message, string url)
     : this(message, url, StatusMessageHelper.MapConsoleColor(PipeToSampleStatusCode.Normal))
 {
 }
コード例 #3
0
 public ConsoleWriteMsg(string message)
     : this(message, StatusMessageHelper.MapConsoleColor(PipeToSampleStatusCode.Normal))
 {
 }