Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Commit

Permalink
More typo cleanup & whitespace removal
Browse files Browse the repository at this point in the history
  • Loading branch information
06b committed Mar 3, 2015
1 parent 2b98655 commit c75b02a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions src/Nancy.Hosting.Self/NancyHost.cs
Expand Up @@ -33,15 +33,15 @@ public class NancyHost : IDisposable
private readonly INancyBootstrapper bootstrapper;

/// <summary>
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specfied <paramref name="baseUris"/>.
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specified <paramref name="baseUris"/>.
/// Uses the default configuration
/// </summary>
/// <param name="baseUris">The <see cref="Uri"/>s that the host will listen to.</param>
public NancyHost(params Uri[] baseUris)
: this(NancyBootstrapperLocator.Bootstrapper, new HostConfiguration(), baseUris) { }

/// <summary>
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specfied <paramref name="baseUris"/>.
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specified <paramref name="baseUris"/>.
/// Uses the specified configuration.
/// </summary>
/// <param name="baseUris">The <see cref="Uri"/>s that the host will listen to.</param>
Expand All @@ -50,7 +50,7 @@ public NancyHost(HostConfiguration configuration, params Uri[] baseUris)
: this(NancyBootstrapperLocator.Bootstrapper, configuration, baseUris){}

/// <summary>
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specfied <paramref name="baseUris"/>, using
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specified <paramref name="baseUris"/>, using
/// the provided <paramref name="bootstrapper"/>.
/// Uses the default configuration
/// </summary>
Expand All @@ -62,7 +62,7 @@ public NancyHost(INancyBootstrapper bootstrapper, params Uri[] baseUris)
}

/// <summary>
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specfied <paramref name="baseUris"/>, using
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specified <paramref name="baseUris"/>, using
/// the provided <paramref name="bootstrapper"/>.
/// Uses the specified configuration.
/// </summary>
Expand All @@ -80,7 +80,7 @@ public NancyHost(INancyBootstrapper bootstrapper, HostConfiguration configuratio
}

/// <summary>
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specfied <paramref name="baseUri"/>, using
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specified <paramref name="baseUri"/>, using
/// the provided <paramref name="bootstrapper"/>.
/// Uses the default configuration
/// </summary>
Expand All @@ -92,7 +92,7 @@ public NancyHost(Uri baseUri, INancyBootstrapper bootstrapper)
}

/// <summary>
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specfied <paramref name="baseUri"/>, using
/// Initializes a new instance of the <see cref="NancyHost"/> class for the specified <paramref name="baseUri"/>, using
/// the provided <paramref name="bootstrapper"/>.
/// Uses the specified configuration.
/// </summary>
Expand Down Expand Up @@ -169,7 +169,7 @@ private bool TryStartListener()
}

this.listener.Start();

return true;
}
catch (HttpListenerException e)
Expand Down
2 changes: 1 addition & 1 deletion src/Nancy.Testing/BrowserContext.cs
Expand Up @@ -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];
}

Expand Down
2 changes: 1 addition & 1 deletion src/Nancy.ViewEngines.Markdown/MarkdownViewengineRender.cs
Expand Up @@ -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", "");
}
}
}
4 changes: 2 additions & 2 deletions src/Nancy.ViewEngines.Razor/NancyRazorErrorView.cs
Expand Up @@ -9,11 +9,11 @@
public class NancyRazorErrorView : NancyRazorViewBase
{
private const string DisableErrorTracesTrueMessage = "Error details are currently disabled. Please set <code>StaticConfiguration.DisableErrorTraces = false;</code> to enable.";

private static string template;

/// <summary>
/// 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.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/Nancy.ViewEngines.Spark/NancyViewFolder.cs
Expand Up @@ -116,12 +116,12 @@ public IList<string> ListViews(string path)
}
finally
{
this.padlock.ExitReadLock();
this.padlock.ExitReadLock();
}
}

/// <summary>
/// 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.
/// </summary>
/// <param name="path">The view to check for.</param>
/// <returns><see langword="true"/> if the view exists in the view folder; otherwise <see langword="false"/>.</returns>
Expand Down

0 comments on commit c75b02a

Please sign in to comment.