Skip to content
This repository
Browse code

Tidied up namespaces

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

0 comments on commit ae43846

Please sign in to comment.
Something went wrong with that request. Please try again.