public RecipeDispenseMethod( RecipeDispense Cdo, RecipeDispenseMethods Method, RecipeDispense_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( RecipeDispense recipeDispense, RecipeDispense_Parameters parameters, RecipeDispense_Request request, out RecipeDispense_Result result) { result = (RecipeDispense_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)recipeDispense, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IRecipeDispenseService)this._Channel).GetActions(this._UserProfile, recipeDispense, parameters, request, out result) : this.AddMethod((Method) new RecipeDispenseMethod(recipeDispense, RecipeDispenseMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)recipeDispense, (Parameters)parameters, (Request)request, (Result)result); } return(res); }