Пример #1
0
        /// <summary>
        /// Saveds the state.
        /// </summary>
        public async Task SavedState()
        {
            var storable = new ApplicationStateStorable()
            {
                //Key = ApplicationStateHandler.MatchId.ToString(),
            };

            storable.Apply(ApplicationStateHandler);

            await Storage.InsertObject(storable);
        }
Пример #2
0
        /// <summary>
        /// Saveds the state.
        /// </summary>
        public async Task SavedState()
        {
            NotifyStatusUpdate();

            var storable = new ApplicationStateStorable()
            {
                //Key = MatchId.ToString(),
            };

            storable.Apply(this);

            await _storage.InsertObject(storable);
        }