Esempio n. 1
0
 public ResultStatus GetActions(
     ResourceActivation resourceActivation,
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     return(this.GetActions(resourceActivation, (ResourceActivation_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus CreateParametricData(
     ResourceActivation resourceActivation,
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     return(this.CreateParametricData(resourceActivation, (ResourceActivation_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus ProcessComputation(
     ResourceActivation resourceActivation,
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     return(this.ProcessComputation(resourceActivation, (ResourceActivation_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus LoadESigDetails(
     ResourceActivation resourceActivation,
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     return(this.LoadESigDetails(resourceActivation, (ResourceActivation_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 5
0
 public ResultStatus GetEnvironment(
     ResourceActivation cdo,
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     result = (ResourceActivation_Result)null;
     try
     {
         return(((IResourceActivationService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
 public ResultStatus CommitTransaction(
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     result = (ResourceActivation_Result)null;
     try
     {
         ResourceActivationMethod[] methods = new ResourceActivationMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceActivationService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 7
0
        public ResultStatus ExecuteTransaction(
            ResourceActivation cdo,
            ResourceActivation_Request request,
            out ResourceActivation_Result result)
        {
            result = (ResourceActivation_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceActivationService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceActivationMethod(cdo, ResourceActivationMethods.ExecuteTransaction, (ResourceActivation_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);
        }
Esempio n. 8
0
        public ResultStatus ResolveParametricData(
            ResourceActivation resourceActivation,
            ResourceActivation_Parameters parameters,
            ResourceActivation_Request request,
            out ResourceActivation_Result result)
        {
            result = (ResourceActivation_Result)null;
            this.OnBeforeCall(nameof(ResolveParametricData), (DCObject)resourceActivation, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceActivationService)this._Channel).ResolveParametricData(this._UserProfile, resourceActivation, parameters, request, out result) : this.AddMethod((Method) new ResourceActivationMethod(resourceActivation, ResourceActivationMethods.ResolveParametricData, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ResolveParametricData), res, (DCObject)resourceActivation, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 9
0
 public ResultStatus ExecuteTransaction(
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     return(this.ExecuteTransaction((ResourceActivation)null, request, out result));
 }
Esempio n. 10
0
 public ResultStatus GetEnvironment(
     ResourceActivation_Request request,
     out ResourceActivation_Result result)
 {
     return(this.GetEnvironment((ResourceActivation)null, request, out result));
 }