protected override void OnSaveUserOperationLogs(WfDesignerExecutorDataContext dataContext, UserOperationLogCollection logs)
        {
            List<IWfProcessDescriptor> importedProcesses = dataContext.GetValue("ImportedProcesses", new List<IWfProcessDescriptor>());

            importedProcesses.ForEach(processDesp => logs.Add(this.CreateImportLog(processDesp)));

            this.FillEnvironmentInfoToLogs(logs);
            base.OnSaveUserOperationLogs(dataContext, logs);
        }
        protected override void OnPrepareUserOperationLog(WfDesignerExecutorDataContext dataContext, UserOperationLogCollection logs)
        {
            UserOperationLog log = new UserOperationLog();

            log.Subject = string.Format("{0}", this.OperationType.ToDescription());

            logs.Add(log);

            base.OnPrepareUserOperationLog(dataContext, logs);

            this.FillEnvironmentInfoToLogs(logs);
        }
        public UserOperationLogCollection ClientToServer(IEnumerable<WfClientUserOperationLog> client)
        {
            client.NullCheck("client");

            UserOperationLogCollection server = new UserOperationLogCollection();

            foreach (WfClientUserOperationLog clientItem in client)
            {
                UserOperationLog serverItem = null;

                this.ClientToServer(clientItem, ref serverItem);

                server.Add(serverItem);
            }

            return server;
        }