Exemplo n.º 1
0
 public MpTransaction(IMpFlex objFlex, IWebServiceHelper objWs, IMessageTextHandler objMsg)
 {
     _objFlex        = objFlex;
     _objWs          = objWs;
     _objMsg         = objMsg;
     ListReturnMsgVm = new List <ReturnMsgVm>();
 }
Exemplo n.º 2
0
 public FailureApi(IWebServiceHelper objWs, IMessageTextHandler objMsg, IMpFlex objFlex, IControlBuilder objControlBuild)
 {
     GetWsObj         = objWs;
     GetMsgObj        = objMsg;
     GetFlexObj       = objFlex;
     _objControlBuild = objControlBuild;
 }
Exemplo n.º 3
0
 public ParamApi(IWebServiceHelper objWs, IMessageTextHandler objMsg, IMpFlex objFlex, IControlBuilder objControlBuilder)
 {
     GetWsObj           = objWs;
     GetMsgObj          = objMsg;
     GetFlexObj         = objFlex;
     _objControlBuilder = objControlBuilder;
     _listOfParamItem   = new List <IParamItemApi>();
 }
Exemplo n.º 4
0
        // Private m_toolbox As MpToolbox

        public MdiMp(IWebServiceHelper objWs, IMpFlex objFlex, IMessageTextHandler objMsg, IControlBuilder objControlBuilder)
        {
            _objWs         = objWs;
            _objFlex       = objFlex;
            _objFlex.Form  = this;
            _objC          = objControlBuilder;
            _objMsg        = objMsg;
            _objOperatrion = new OperationApi(objWs);
            InitializeComponent();
        }
Exemplo n.º 5
0
 public MpModuleController(IMpFlex objFlex, IWebServiceHelper objWs, IControlBuilder objCb, IMessageTextHandler objMsg, IOperationApi objOper, IMpTransaction objTrans)
 {
     _objFlex  = objFlex;
     _objWs    = objWs;
     _objMsg   = objMsg;
     _objCb    = objCb;
     _objOper  = objOper;
     _objTrans = objTrans;
     _objTrans.TransactionProceed += OnTransactionProceed;
 }
Exemplo n.º 6
0
 public CustomMpUserControl(IMpFlex objFlex, IWebServiceHelper objWs, IMessageTextHandler objMsg, object formObject, string operation, IControlBuilder objObjControlBuild)
 {
     ObjControlBuilder = objObjControlBuild;
     //_objFlex = objFlex;
     //_objWs = objWs;
     //_objMsg = objMsg;
     _formObject = formObject;
     _operation  = operation;
     _hook       = new HookApi(objFlex, objWs); // need to do this because hook will raise event back to UC
 }
Exemplo n.º 7
0
        public SoApi ConstructorTest(
            IWebServiceHelper wsHelper,
            IMessageTextHandler errCode,
            IMpFlex objFlex
            )
        {
            SoApi target = new SoApi(wsHelper, errCode, objFlex);

            return(target);
            // TODO: add assertions to method SoApiTest.ConstructorTest(IWebServiceHelper, IMessageTextHandler, IMpFlex)
        }
Exemplo n.º 8
0
 public ParamItemApi(IWebServiceHelper objWs, IMessageTextHandler objMsg, IMpFlex objFlex, ParameterItemVm parameterItem)
 {
     GetWsObj        = objWs;
     GetMsgObj       = objMsg;
     GetFlexObj      = objFlex;
     ParamItem       = parameterItem;
     ParamItemDetail = GetWsObj.GetParameterItemDetail(ParamItem.slug);
     if (ParamItemValue == null)
     {
         ParamItemValue = new List <ParameterItemValueVm>();
     }
 }
Exemplo n.º 9
0
        public FrmLogin()
        {
            _hostUrl = ConfigurationManager.AppSettings["hosturl"];
            _objMsg  = new MessageTextHandler();
            IFormatValidate objFv = new FormatValidate();

            _objWs = new WsHelper(_hostUrl, objFv, _objMsg)
            {
                ReturnAsModel = true
            };
            _objFlex = new MpFlex()
            {
                Url = _objWs.HostAddress
            };
            _objControlBuilder = new ControlBuilder(_objFlex, _objWs, _objMsg);
            InitializeComponent();
        }
Exemplo n.º 10
0
 public SubmitApi(IWebServiceHelper wsHelper, IMessageTextHandler errCode, IMpFlex objFlex)
 {
     GetWsObj   = wsHelper;
     GetMsgObj  = errCode;
     GetFlexObj = objFlex;
 }
Exemplo n.º 11
0
 public HookApi(IMpFlex objFlex, IWebServiceHelper objWs)
 {
     _objFlex = objFlex;
     _objWs   = objWs;
 }
Exemplo n.º 12
0
 public PassFailApi(IWebServiceHelper wsHelper, IMessageTextHandler errCode, IMpFlex objFlex)
 {
     GetWsObj  = wsHelper;
     GetMsgObj = errCode;
     _objFlex  = objFlex;
 }
Exemplo n.º 13
0
 public SnApi(IWebServiceHelper objWs, IMessageTextHandler objMsg, IMpFlex objFlex)
 {
     GetWsObj   = objWs;
     GetMsgObj  = objMsg;
     GetFlexObj = objFlex;
 }
Exemplo n.º 14
0
 public ControlBuilder(IMpFlex objFlex, IWebServiceHelper objWs, IMessageTextHandler objMsg)
 {
     _objFlex = objFlex;
     _objWs   = objWs;
     _objMsg  = objMsg;
 }