Beispiel #1
0
 public ResultStatus CreateParametricData(
     CreateEvent createEvent,
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.CreateParametricData(createEvent, (CreateEvent_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus AddHistoryCrossRefs(
     CreateEvent createEvent,
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.AddHistoryCrossRefs(createEvent, (CreateEvent_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus ValidateEvent(
     CreateEvent createEvent,
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.ValidateEvent(createEvent, (CreateEvent_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus ProcessComputation(
     CreateEvent createEvent,
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.ProcessComputation(createEvent, (CreateEvent_Parameters)null, request, out result));
 }
Beispiel #5
0
 public ResultStatus LoadESigDetails(
     CreateEvent createEvent,
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.LoadESigDetails(createEvent, (CreateEvent_Parameters)null, request, out result));
 }
Beispiel #6
0
 public ResultStatus GetWIPMsgs(
     CreateEvent createEvent,
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.GetWIPMsgs(createEvent, (CreateEvent_Parameters)null, request, out result));
 }
Beispiel #7
0
 public ResultStatus GetEnvironment(
     CreateEvent cdo,
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     result = (CreateEvent_Result)null;
     try
     {
         return(((ICreateEventService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #8
0
 public ResultStatus CommitTransaction(
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     result = (CreateEvent_Result)null;
     try
     {
         CreateEventMethod[] methods = new CreateEventMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ICreateEventService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #9
0
        public ResultStatus ExecuteTransaction(
            CreateEvent cdo,
            CreateEvent_Request request,
            out CreateEvent_Result result)
        {
            result = (CreateEvent_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICreateEventService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new CreateEventMethod(cdo, CreateEventMethods.ExecuteTransaction, (CreateEvent_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #10
0
        public ResultStatus CreateParametricData(
            CreateEvent createEvent,
            CreateEvent_Parameters parameters,
            CreateEvent_Request request,
            out CreateEvent_Result result)
        {
            result = (CreateEvent_Result)null;
            this.OnBeforeCall(nameof(CreateParametricData), (DCObject)createEvent, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICreateEventService)this._Channel).CreateParametricData(this._UserProfile, createEvent, parameters, request, out result) : this.AddMethod((Method) new CreateEventMethod(createEvent, CreateEventMethods.CreateParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(CreateParametricData), res, (DCObject)createEvent, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #11
0
 public ResultStatus ExecuteTransaction(
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.ExecuteTransaction((CreateEvent)null, request, out result));
 }
Beispiel #12
0
 public ResultStatus GetEnvironment(
     CreateEvent_Request request,
     out CreateEvent_Result result)
 {
     return(this.GetEnvironment((CreateEvent)null, request, out result));
 }