Exemplo n.º 1
0
        private void RenderModule(ISubmitApi objApi)
        {
            if (objApi.Result != EnumResult.ButtonSubmit)
            {
                return;
            }
            var objSn    = (ISnApi)_objCb.FindControlHasInterfaceInList <ISnApi>(_listOfObj);
            var objSo    = (ISoApi)_objCb.FindControlHasInterfaceInList <ISoApi>(_listOfObj);
            var objParam = (IParamApi)_objCb.FindControlHasInterfaceInList <IParamApi>(_listOfObjSnBase);
            var result   = _objTrans.ProcessTransaction(objSn, objSo, objParam);

            if (result)
            {
                CancelSn(true);
            }
        }
Exemplo n.º 2
0
 public ClienteClient(ISubmitApi submitApi,
                      IOptions <ApiBaseAddresses> apiSettings)
 {
     apiBaseAddresses = apiSettings.Value;
     _submitApi.InicializarHttp(apiBaseAddresses.Cliente);
 }
Exemplo n.º 3
0
 public UcSubmit(ISubmitApi objSubmit, IControlBuilder objObjControlBuild) : base(objSubmit.GetFlexObj, objSubmit.GetWsObj, objSubmit.GetMsgObj, objSubmit.FormObject, objSubmit.Operation, objObjControlBuild)
 {
     _objSubmit = objSubmit;
     InitializeComponent();
 }