Ejemplo n.º 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            Externals.Register <IAuthManager>(() => new AuthManager(), true);
            Externals.Register <ISafeUI>(() => new SafeUI());
            Externals.Register <IDialog>(() => new Dialog());
            Externals.Lock();

            base.OnStartup(e);
        }
Ejemplo n.º 2
0
        public override void OnCreate()
        {
            base.OnCreate();
            RegisterActivityLifecycleCallbacks(this);

            Externals.Register <IAuthManager>(() => new AuthManager(), true);
            Externals.Register <ISafeUI>(() => new SafeUI());
            Externals.Register <IDialog>(() => new Dialog());
            Externals.Lock();
        }