public IPhoneNSUrlProtocol(NSUrlRequest request, NSCachedUrlResponse cachedResponse, INSUrlProtocolClient client)
            : base(request, cachedResponse, client)
        {
            //SystemLogger.Log (SystemLogger.Module.PLATFORM, "# IPhoneNSUrlProtocol - Init with Request");

            serviceLocator = IPhoneServiceLocator.GetInstance ();
            serviceURIHandler = new IPhoneServiceURIHandler (serviceLocator);
            resourceURIHandler = new IPhoneResourceHandler (ApplicationSource.FILE);
            serviceInvocationManager = new ServiceInvocationManager ();
        }
        public IPhoneNSUrlProtocol(NSUrlRequest request, NSCachedUrlResponse cachedResponse, INSUrlProtocolClient client)
            : base(request, cachedResponse, client)
        {
            //SystemLogger.Log (SystemLogger.Module.PLATFORM, "# IPhoneNSUrlProtocol - Init with Request");

            serviceLocator           = IPhoneServiceLocator.GetInstance();
            serviceURIHandler        = new IPhoneServiceURIHandler(serviceLocator);
            resourceURIHandler       = new IPhoneResourceHandler(ApplicationSource.FILE);
            serviceInvocationManager = new ServiceInvocationManager();
        }
Exemplo n.º 3
0
 public IPhoneWKScriptMessageHandler()
 {
     serviceLocator           = IPhoneServiceLocator.GetInstance();
     serviceURIHandler        = new IPhoneServiceURIHandler(serviceLocator);
     serviceInvocationManager = new ServiceInvocationManager();
 }
 public IPhoneWKScriptMessageHandler()
 {
     serviceLocator = IPhoneServiceLocator.GetInstance ();
     serviceURIHandler = new IPhoneServiceURIHandler (serviceLocator);
     serviceInvocationManager = new ServiceInvocationManager ();
 }