Beispiel #1
0
 public UIProviderComponentMaintMethod(
     UIProviderComponentMaint Cdo,
     UIProviderComponentMaintMethods Method,
     UIProviderComponentMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Beispiel #2
0
        public ResultStatus Freeze(
            UIProviderComponentMaint uIProviderComponentMaint,
            UIProviderComponentMaint_Parameters parameters,
            UIProviderComponentMaint_Request request,
            out UIProviderComponentMaint_Result result)
        {
            result = (UIProviderComponentMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)uIProviderComponentMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUIProviderComponentMaintService)this._Channel).Freeze(this._UserProfile, uIProviderComponentMaint, parameters, request, out result) : this.AddMethod((Method) new UIProviderComponentMaintMethod(uIProviderComponentMaint, UIProviderComponentMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)uIProviderComponentMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }