コード例 #1
0
 private void PrintException(CASProgressInfo argInfo)
 {
     if (argInfo.Ex != null)
     {
         mActions.PrintException(argInfo.Ex);
     }
 }
コード例 #2
0
 private void SetTitle(CASProgressInfo argInfo)
 {
     if (!string.IsNullOrEmpty(argInfo.Text))
     {
         mActions.SetTitle(argInfo.Text);
     }
 }
コード例 #3
0
 private void Print(CASProgressInfo argInfo)
 {
     if (!string.IsNullOrEmpty(argInfo.Text))
     {
         mActions.Print(argInfo.Text, argInfo.NewLine);
     }
 }
コード例 #4
0
        public void ProgressInfo(CASProgressInfo argInfo)
        {
            switch (argInfo.Type)
            {
            case ECASProgressType.SetTitle:
                SetTitle(argInfo);
                break;

            case ECASProgressType.Print:
                Print(argInfo);
                break;

            case ECASProgressType.PrintException:
                PrintException(argInfo);
                break;
            }
        }