Example #1
0
        public AppShell()
        {
            Container = new ViewModelContainer();

            Container.RegisterService <IGameService, GameService>();
            Container.RegisterService <IDialogService, DialogService>();

            GameService = Container.GetService <IGameService>();

            GameService.LoggedIn += GameService_LoggedIn;
            GameService.Client.UserDataUpdated += Client_UserDataUpdated;

            InitializeComponent();
        }