コード例 #1
0
        public static webModel.ProgressMessage ToWebModel(this moduleModel.ProgressMessage message)
        {
            var retVal = new webModel.ProgressMessage();

            retVal.Message = message.Message;
            retVal.Level   = message.Level.ToString();
            return(retVal);
        }
コード例 #2
0
 static void WriteProgressMessage(ProgressMessage message)
 {
     Debug.WriteLine("{0}: {1}", message.Level, message.Message);
 }
コード例 #3
0
 void WriteProgressMessage(ProgressMessage message)
 {
     _output.WriteLine("{0}: {1}", message.Level, message.Message);
 }