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); }
public string ChecktWallet() { iServiceProvider iserviceProvider = ServiceProviderFactory.GetServiceProvider(ServiceType.Mobile, ProviderType.JOLO); return(iserviceProvider.CheckWallet()); }
public string GetTransactionResult(string orderId, int serviceTypeId) { iServiceProvider iserviceProvider = ServiceProviderFactory.GetServiceProvider(ServiceType.Mobile, ProviderType.JOLO); return(iserviceProvider.GetTransactionStatus(orderId, serviceTypeId)); }
public string DoRecharge(ServiceOrder serviceOrder) { iServiceProvider iserviceProvider = ServiceProviderFactory.GetServiceProvider(serviceOrder.ServiceType, serviceOrder.ProviderType); return(iserviceProvider.DoRecharge(serviceOrder)); }