Beispiel #1
0
 public V4_ChangeAttributeMethod(
     V4_ChangeAttribute Cdo,
     V4_ChangeAttributeMethods Method,
     V4_ChangeAttribute_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Beispiel #2
0
        public ResultStatus GetActions(
            V4_ChangeAttribute v4_ChangeAttribute,
            V4_ChangeAttribute_Parameters parameters,
            V4_ChangeAttribute_Request request,
            out V4_ChangeAttribute_Result result)
        {
            result = (V4_ChangeAttribute_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)v4_ChangeAttribute, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_ChangeAttributeService)this._Channel).GetActions(this._UserProfile, v4_ChangeAttribute, parameters, request, out result) : this.AddMethod((Method) new V4_ChangeAttributeMethod(v4_ChangeAttribute, V4_ChangeAttributeMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)v4_ChangeAttribute, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }