コード例 #1
0
 public void WriteEvent(object sender, MessageEventArgs args) {
     System.Console.WriteLine(args.Message);
 }
コード例 #2
0
 /// <summary>
 /// Write the given message to the console and include a carriage return at line end.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void WriteLine(object sender, MessageEventArgs e) {
     this.WriteLine(e.Message, e.Prefix);
 }
コード例 #3
0
 /// <summary>
 /// Send a beep to the console and the write the error message.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void WriteError(object sender, MessageEventArgs e) {
     //System.Console.WriteLine( "\a" );
     this.WriteLine(e.Message, e.Prefix);
 }
コード例 #4
0
 /// <summary>
 /// Send notification that the connection has been broken to the cvs server.
 /// </summary>
 /// <param name="Object"></param>
 /// <param name="e"></param>
 protected void SendDisconnectedMessageEvent(object Object, MessageEventArgs e) {
     if (null != this.DisconnectedMessageEvent) {
         this.DisconnectedMessageEvent(Object, e);
     } 
 }