Skip to content

Commit

Permalink
Removed unneeded namespace imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
NightOwl888 committed Sep 2, 2013
1 parent 9e6e8b7 commit 39b75d2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Caching;
using MvcSiteMapProvider.Web.Mvc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MvcSiteMapProvider.Caching
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using MvcSiteMapProvider;

namespace MvcSiteMapProvider.Caching
{
Expand Down
12 changes: 9 additions & 3 deletions src/MvcSiteMapProvider/MvcSiteMapProvider/Caching/MicroCache.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Text;

namespace MvcSiteMapProvider.Caching
{
/// <summary>
/// A lightweight cache that ensures thread safety when loading items by using a callback that
/// gets called exactly 1 time.
/// </summary>
/// <typeparam name="T">The type of object to cache.</typeparam>
/// <remarks>
/// Caching strategy inspired by this post:
/// http://www.superstarcoders.com/blogs/posts/micro-caching-in-asp-net.aspx
/// </remarks>
public class MicroCache<T>
: IMicroCache<T>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using MvcSiteMapProvider;

namespace MvcSiteMapProvider.Collections
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using MvcSiteMapProvider.Globalization;
using MvcSiteMapProvider.Caching;
using MvcSiteMapProvider.Globalization;

namespace MvcSiteMapProvider.Collections.Specialized
{
Expand Down

0 comments on commit 39b75d2

Please sign in to comment.