Ejemplo n.º 1
0
		public static void Create (string googleApiKeyNative, string googleApiKeyWeb, 
			ErrorTranslator errorTranslator, ILocationProvider locationProvider)
		{
			new AppCommon (googleApiKeyNative, googleApiKeyWeb, locationProvider) { 
				ErrorTranslator = errorTranslator, 
			};

			// Post construction inits
			ThreadPool.QueueUserWorkItem ((x) => Inst.LocationProvider.Connect ());
		}
Ejemplo n.º 2
0
        public static void Create(string googleApiKeyNative, string googleApiKeyWeb,
                                  ErrorTranslator errorTranslator, ILocationProvider locationProvider)
        {
            new AppCommon(googleApiKeyNative, googleApiKeyWeb, locationProvider)
            {
                ErrorTranslator = errorTranslator,
            };

            // Post construction inits
            ThreadPool.QueueUserWorkItem((x) => Inst.LocationProvider.Connect());
        }