Permalink
Browse files

Tidied up namespaces

  • Loading branch information...
1 parent 64b9528 commit ae43846098abf4cbdef9f864cbe9fa0ebc73c3e7 @jchannon jchannon committed Dec 20, 2012
View
2 src/Nancy.ViewEngines.Razor/DefaultTextResource.cs
@@ -1,12 +1,10 @@
namespace Nancy.ViewEngines.Razor
{
- using System.Globalization;
using System.Collections;
using System.Collections.Generic;
public class DefaultTextResource : ITextResource
{
- private readonly IRenderContext renderContext;
private readonly IDictionary<string, IDictionary<string, string>> dictionary;
public DefaultTextResource()
View
4 src/Nancy.ViewEngines.Razor/ITextResource.cs
@@ -1,8 +1,6 @@
-using System.Collections.Generic;
-
namespace Nancy.ViewEngines.Razor
{
- using System.Globalization;
+ using System.Collections.Generic;
public interface ITextResource : IEnumerable<KeyValuePair<string, IDictionary<string, string>>>
{
View
1 src/Nancy.ViewEngines.Razor/NancyRazorViewBase.cs
@@ -6,7 +6,6 @@
using System.IO;
using System.Text;
using Nancy.Helpers;
- using Nancy.Culture;
/// <summary>
/// Base class for nancy razor views.
View
4 src/Nancy.ViewEngines.Razor/RazorViewEngine.cs
@@ -9,10 +9,6 @@
using System.Reflection;
using System.Web.Razor;
using System.Web.Razor.Parser.SyntaxTree;
- using System.Collections;
- using System.Resources;
- using Nancy.Culture;
-
using Nancy.Bootstrapper;
using Nancy.Responses;
View
18 src/Nancy.ViewEngines.Razor/TextResourceFinder.cs
@@ -1,13 +1,13 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Dynamic;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-
-namespace Nancy.ViewEngines.Razor
+namespace Nancy.ViewEngines.Razor
{
+ using System;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Dynamic;
+ using System.Globalization;
+ using System.Linq;
+ using System.Text;
+
public class TextResourceFinder : DynamicObject
{
private readonly ITextResource textResource;

0 comments on commit ae43846

Please sign in to comment.