Esempio n. 1
0
        public void AppData()
        {
            var appData = new RoamingSettings();
            int a = 1;
            appData.AddOrUpdateValue("tibia", a);
            var b = appData.ReadValue("tibia");

            Assert.AreEqual(b, a);
        }
Esempio n. 2
0
 public FeedDataSource(IUnitOfWork unitOfWork,
     RoamingSettings roamingSettings,
     string feedsLinkSettingNameInRoamingSettings)
 {
     _unitOfWork = unitOfWork;
     _feedDataRepository = _unitOfWork.GetFeedRepository<FeedData>();
     _feedItemRepository = _unitOfWork.GetFeedRepository<FeedItem>();
     _roamingSettings = roamingSettings;
     _feedsLinkSettingNameInRoamingSettings = feedsLinkSettingNameInRoamingSettings;
 }