示例#1
0
        public virtual void ReportProgress(string progress)
        {
            engineLogger.Information(progress);
            ReportProgressEventArgs args = new ReportProgressEventArgs();

            args.ProgressUpdate = progress;
            ReportProgressEvent?.Invoke(this, args);
        }
        public virtual void ReportProgress(string progress)
        {
            engineLogger.Information(progress);
            ReportProgressEventArgs args = new ReportProgressEventArgs();

            args.ProgressUpdate = progress;
            //send log to server
            Core.Sockets.SocketClient.SendExecutionLog(progress);

            //invoke event
            ReportProgressEvent?.Invoke(this, args);
        }