示例#1
0
        public static iServiceProvider CreateHost(CefConfiguration config)
        {
            iServiceProvider app = null;

            if (CefRuntime.Platform == CefRuntimePlatform.Windows)
            {
                app = new Windows.ChromeHost.CefGlueBrowserHost(config);
            }
            else if (CefRuntime.Platform == CefRuntimePlatform.Linux)
            {
                app = new Linux.ChromeHost.CefGlueBrowserHost(config);
            }
            return(app);
        }
示例#2
0
        public string ChecktWallet()
        {
            iServiceProvider iserviceProvider = ServiceProviderFactory.GetServiceProvider(ServiceType.Mobile, ProviderType.JOLO);

            return(iserviceProvider.CheckWallet());
        }
示例#3
0
        public string GetTransactionResult(string orderId, int serviceTypeId)
        {
            iServiceProvider iserviceProvider = ServiceProviderFactory.GetServiceProvider(ServiceType.Mobile, ProviderType.JOLO);

            return(iserviceProvider.GetTransactionStatus(orderId, serviceTypeId));
        }
示例#4
0
        public string DoRecharge(ServiceOrder serviceOrder)
        {
            iServiceProvider iserviceProvider = ServiceProviderFactory.GetServiceProvider(serviceOrder.ServiceType, serviceOrder.ProviderType);

            return(iserviceProvider.DoRecharge(serviceOrder));
        }