diff --git a/src/Nancy.Hosting.Self/NancyHost.cs b/src/Nancy.Hosting.Self/NancyHost.cs index a3b17ee4fd..b013d018ca 100644 --- a/src/Nancy.Hosting.Self/NancyHost.cs +++ b/src/Nancy.Hosting.Self/NancyHost.cs @@ -33,7 +33,7 @@ public class NancyHost : IDisposable private readonly INancyBootstrapper bootstrapper; /// - /// Initializes a new instance of the class for the specfied . + /// Initializes a new instance of the class for the specified . /// Uses the default configuration /// /// The s that the host will listen to. @@ -41,7 +41,7 @@ public NancyHost(params Uri[] baseUris) : this(NancyBootstrapperLocator.Bootstrapper, new HostConfiguration(), baseUris) { } /// - /// Initializes a new instance of the class for the specfied . + /// Initializes a new instance of the class for the specified . /// Uses the specified configuration. /// /// The s that the host will listen to. @@ -50,7 +50,7 @@ public NancyHost(HostConfiguration configuration, params Uri[] baseUris) : this(NancyBootstrapperLocator.Bootstrapper, configuration, baseUris){} /// - /// Initializes a new instance of the class for the specfied , using + /// Initializes a new instance of the class for the specified , using /// the provided . /// Uses the default configuration /// @@ -62,7 +62,7 @@ public NancyHost(INancyBootstrapper bootstrapper, params Uri[] baseUris) } /// - /// Initializes a new instance of the class for the specfied , using + /// Initializes a new instance of the class for the specified , using /// the provided . /// Uses the specified configuration. /// @@ -80,7 +80,7 @@ public NancyHost(INancyBootstrapper bootstrapper, HostConfiguration configuratio } /// - /// Initializes a new instance of the class for the specfied , using + /// Initializes a new instance of the class for the specified , using /// the provided . /// Uses the default configuration /// @@ -92,7 +92,7 @@ public NancyHost(Uri baseUri, INancyBootstrapper bootstrapper) } /// - /// Initializes a new instance of the class for the specfied , using + /// Initializes a new instance of the class for the specified , using /// the provided . /// Uses the specified configuration. /// @@ -169,7 +169,7 @@ private bool TryStartListener() } this.listener.Start(); - + return true; } catch (HttpListenerException e) diff --git a/src/Nancy.Testing/BrowserContext.cs b/src/Nancy.Testing/BrowserContext.cs index 7a83bc4fcf..a1149a044b 100644 --- a/src/Nancy.Testing/BrowserContext.cs +++ b/src/Nancy.Testing/BrowserContext.cs @@ -249,7 +249,7 @@ public void Certificate(StoreLocation storeLocation, StoreName storeName, X509Fi String.Format("No certificates found in {0} {1} with a {2} that looks like \"{3}\"", storeLocation, storeName, findType, findBy)); } - + this.Values.ClientCertificate = certificatesFound[0]; } diff --git a/src/Nancy.ViewEngines.Markdown/MarkdownViewengineRender.cs b/src/Nancy.ViewEngines.Markdown/MarkdownViewengineRender.cs index e126cd6655..1dcc1c5913 100644 --- a/src/Nancy.ViewEngines.Markdown/MarkdownViewengineRender.cs +++ b/src/Nancy.ViewEngines.Markdown/MarkdownViewengineRender.cs @@ -50,7 +50,7 @@ public static string RenderMasterPage(string templateContent) var serverHtml = ParagraphSubstitution.Replace(html, "$1"); //TODO: The "Replace" is simply for unit testing HTML/MD strings. Probably needs improving - return string.Concat(header, serverHtml, footer).Replace("\r\n", "").Replace("\n", "").Replace("\r", ""); + return string.Concat(header, serverHtml, footer).Replace("\r\n", "").Replace("\n", "").Replace("\r", ""); } } } diff --git a/src/Nancy.ViewEngines.Razor/NancyRazorErrorView.cs b/src/Nancy.ViewEngines.Razor/NancyRazorErrorView.cs index 305e6ef1f4..6eab5e7e51 100644 --- a/src/Nancy.ViewEngines.Razor/NancyRazorErrorView.cs +++ b/src/Nancy.ViewEngines.Razor/NancyRazorErrorView.cs @@ -9,11 +9,11 @@ public class NancyRazorErrorView : NancyRazorViewBase { private const string DisableErrorTracesTrueMessage = "Error details are currently disabled. Please set StaticConfiguration.DisableErrorTraces = false; to enable."; - + private static string template; /// - /// Gets or sets the template for rendinger errors. + /// Gets or sets the template for rendering errors. /// The token "[DETAILS]" will be replaced by the HTML for /// the actual error. /// diff --git a/src/Nancy.ViewEngines.Spark/NancyViewFolder.cs b/src/Nancy.ViewEngines.Spark/NancyViewFolder.cs index 1882fc36c7..b21528de8e 100644 --- a/src/Nancy.ViewEngines.Spark/NancyViewFolder.cs +++ b/src/Nancy.ViewEngines.Spark/NancyViewFolder.cs @@ -116,12 +116,12 @@ public IList ListViews(string path) } finally { - this.padlock.ExitReadLock(); + this.padlock.ExitReadLock(); } } /// - /// Gets a value that indicates wether or not the view folder contains a specific view. + /// Gets a value that indicates whether or not the view folder contains a specific view. /// /// The view to check for. /// if the view exists in the view folder; otherwise .