コード例 #1
0
 public static MockDataStoreService GetStorage()
 {
     if (storage == null)
     {
         storage = new MockDataStoreService();
     }
     return(storage);
 }
コード例 #2
0
        public PostsFlowService(string userId)
        {
            store = StorageService.GetStorage();

            currentProfile = store.Profiles.Where(p => p.UserId == userId).FirstOrDefault();
        }