Ejemplo n.º 1
0
        public IOSApplicationContext(AppDelegate appDelegate, NavigationController controller,
            ApplicationSettings settings, CustomExceptionHandler exceptionHandler)
        {
            ApplicationBackground += () => { };
            ApplicationRestore += () => { };

            GlobalVariables = new Dictionary<string, object>();

            Settings = settings;
            _controller = controller;
            _exceptionHandler = exceptionHandler;

			LocationProvider = new GpsProvider ();
            LocationTracker = new GPSTracker();
            GalleryProvider = new GalleryProvider(controller, this);
            CameraProvider = new CameraProvider(controller, this);
            DialogProvider = new DialogProvider(this);
            DisplayProvider = new DisplayProvider();
            ClipboardProvider = new ClipboardProvider();
            EmailProvider = new EmailProvider(settings, appDelegate);
            JokeProviderInternal = new JokeProvider();
            LocalNotificationProvider = new LocalNotificationProvider();
            WebProvider = new WebProvider();

            var builder = new SolutionBuilder(this);
            builder.Build();

            StyleSheetContext.Current.Scale = UIScreen.MainScreen.Scale;
        }
Ejemplo n.º 2
0
		public LogonController (bool clearCache, ApplicationSettings settings, LogonCompletedDelegate logonComplete, String message = null)
			: base (settings)
		{
			_clearCache = clearCache;
			_logonComplete = logonComplete;
			_ctorText = message;
		}
Ejemplo n.º 3
0
		public StartScreenController (ApplicationSettings settings)
			: base (null)
		{
			_settings = settings;
		}
Ejemplo n.º 4
0
 public ExceptionHandler(ApplicationSettings settings, AppDelegate application)
 {
     _settings = settings;
     _application = application;
 }
Ejemplo n.º 5
0
 public EmailProvider(ApplicationSettings settings, AppDelegate application)
 {
     _settings = settings;
     _application = application;
 }
Ejemplo n.º 6
0
		public ProgressController (ApplicationSettings settings)
			: base (null)
		{
			_settings = settings;
		}