Beispiel #1
0
        private bool AbortEdiabasJob()
        {
            if (AbortRequest != null)
            {
                if (AbortRequest.Invoke())
                {
                    _abortRequest = true;
                }
            }

            return(_abortRequest);
        }
Beispiel #2
0
        public static AbortRequest ToAbortRequestAction(this AbortRequestItem abortRequestItem)
        {
            if (abortRequestItem == null)
            {
                return(null);
            }

            var abortRequestAction = new AbortRequest()
            {
                Name = abortRequestItem.Name
            };

            return(abortRequestAction);
        }
 public void Abort()
 {
     AbortRequest?.Invoke();
 }