Exemplo n.º 1
0
 public void Output(enOutputType type, object msg, object msgDetails = null)
 {
     Application.Current.Dispatcher.InvokeAsync(() =>
     {
         var msgStr        = msg == null? "": msg.ToString();
         var msgDetailsStr = msgDetails == null ? msgStr : msgDetails.ToString();
         OutputFun(type, msgStr, msgDetailsStr);
     });
 }
Exemplo n.º 2
0
 private static void OutputDefault(enOutputType type, string msg, string msgDetails)
 {
     //无操作
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public DataOutputDef(enOutputType outputType)
 {
     _outputType = outputType;
 }