示例#1
0
 public iOSBroker(ICoreLogger logger, ICryptographyManager cryptoManager, CoreUIParent uIParent)
 {
     _logger        = logger;
     _cryptoManager = cryptoManager;
     _uIParent      = uIParent;
 }
 public SystemWebUI(CoreUIParent parent)
 {
     _parent = parent;
 }
示例#3
0
 public virtual IBroker CreateBroker(ApplicationConfiguration appConfig, CoreUIParent uiParent)
 {
     return(appConfig.BrokerCreatorFunc != null?
            appConfig.BrokerCreatorFunc(uiParent, Logger) :
                new NullBroker());
 }
 public override IBroker CreateBroker(CoreUIParent uiParent)
 {
     return(new WamBroker(uiParent, Logger));
 }
示例#5
0
 public override IBroker CreateBroker(ApplicationConfiguration appConfig, CoreUIParent uiParent)
 {
     return(new WamBroker(uiParent, appConfig, Logger));
 }
 public InteractiveWebUI(CoreUIParent parent, RequestContext requestContext)
 {
     OwnerWindow            = parent?.OwnerWindow;
     SynchronizationContext = parent?.SynchronizationContext;
     RequestContext         = requestContext;
 }
 public IWebUI CreateAuthenticationDialog(CoreUIParent parent, RequestContext requestContext)
 {
     return(new DefaultOsBrowserWebUi(requestContext.ServiceBundle.PlatformProxy, requestContext.Logger));
 }
 public IWebUI CreateAuthenticationDialog(CoreUIParent parent, RequestContext requestContext)
 {
     return(new WebUI(parent, requestContext));
 }
 /// <summary>
 /// Default constructor. Uses the NSApplication.SharedApplication.MainWindow to parent the web ui.
 /// </summary>
 public UIParent()
 {
     CoreUIParent = new CoreUIParent(NSApplication.SharedApplication.MainWindow);
 }
 public override IBroker CreateBroker(ApplicationConfiguration appConfig, CoreUIParent uiParent)
 {
     return(appConfig.BrokerCreatorFunc != null?
            appConfig.BrokerCreatorFunc(uiParent, Logger) :
                new Features.WamBroker.WamBroker(uiParent, Logger));
 }
示例#11
0
 public IWebUI CreateAuthenticationDialog(CoreUIParent coreUIParent, RequestContext requestContext)
 {
     return(new SeleniumWebUI(_automationLogic, _timeout));
 }
 public virtual IBroker CreateBroker(CoreUIParent uIParent)
 {
     return(OverloadBrokerForTest ?? new NullBroker());
 }
 public UIParent(Activity activity)
 {
     CoreUIParent = new CoreUIParent(activity);
 }
示例#14
0
 public AndroidBroker(CoreUIParent uiParent, ICoreLogger logger)
 {
     _activity     = uiParent?.Activity;
     _logger       = logger ?? throw new ArgumentNullException(nameof(logger));
     _brokerHelper = new AndroidBrokerHelper(Application.Context, logger);
 }
 public WebUI(CoreUIParent parent, RequestContext requestContext)
 {
     _useCorporateNetwork = parent.UseCorporateNetwork;
     _silentMode          = parent.UseHiddenBrowser;
     _requestContext      = requestContext;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 public UIParent()
 {
     CoreUIParent = new CoreUIParent();
 }
 public EmbeddedWebUI(CoreUIParent coreUIParent)
 {
     _coreUIParent = coreUIParent;
 }
 public bool CanInvokeBroker(CoreUIParent uiParent)
 {
     return(false);
 }
示例#19
0
 public override IBroker CreateBroker(ApplicationConfiguration appConfig, CoreUIParent uiParent)
 {
     return(AndroidBrokerFactory.CreateBroker(uiParent, Logger));
 }