コード例 #1
0
 public static void ReportProgress(object handler, LiveOperationProgress progress)
 {
     var progressHandler = handler as Action<LiveOperationProgress>;
     if (progressHandler != null)
     {
         progressHandler(progress);
     }
 }
コード例 #2
0
        public static void ReportProgress(object handler, LiveOperationProgress progress)
        {
            var progressHandler = handler as Action <LiveOperationProgress>;

            if (progressHandler != null)
            {
                progressHandler(progress);
            }
        }