예제 #1
0
 void RemoveExistingCache()
 {
     using (var storage = IsolatedStorageFile.GetMachineStoreForDomain())
     {
         storage.Remove();
     }
 }
예제 #2
0
        public CassetteApplicationTests()
        {
            RemoveExistingCache();

            storage          = IsolatedStorageFile.GetMachineStoreForDomain();
            routes           = new RouteCollection();
            httpContext      = new Mock <HttpContextBase>();
            httpContextItems = new Dictionary <string, object>();
            httpContext.Setup(c => c.Items).Returns(httpContextItems);
        }