From 7d08b6ef5e5a29e313b5e84645c6275e95b581ad Mon Sep 17 00:00:00 2001
From: Julian Verdurmen <304NotModified@users.noreply.github.com>
Date: Thu, 13 Jun 2019 02:12:42 +0200
Subject: [PATCH] Fix typos in docs
---
src/NLog/Config/ConfigurationItemFactory.cs | 2 +-
src/NLog/Layouts/JsonAttribute.cs | 2 +-
src/NLog/Layouts/XmlAttribute.cs | 2 +-
src/NLog/Layouts/XmlElement.cs | 2 +-
src/NLog/Layouts/XmlLayout.cs | 2 +-
src/NLog/MessageTemplates/Template.cs | 2 +-
src/NLog/Targets/DatabaseParameterInfo.cs | 2 +-
src/NLog/Targets/FileTarget.cs | 2 +-
src/NLog/Targets/NLogViewerParameterInfo.cs | 2 +-
src/NLog/Targets/NetworkTargetConnectionsOverflowAction.cs | 2 +-
tools/MakeNLogXSD/TemplateXSD.xml | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/NLog/Config/ConfigurationItemFactory.cs b/src/NLog/Config/ConfigurationItemFactory.cs
index a9322b78b0..202cd79bbc 100644
--- a/src/NLog/Config/ConfigurationItemFactory.cs
+++ b/src/NLog/Config/ConfigurationItemFactory.cs
@@ -199,7 +199,7 @@ public IValueFormatter ValueFormatter
public IPropertyTypeConverter PropertyTypeConverter { get; set; } = new PropertyTypeConverter();
///
- /// Perform mesage template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+ /// Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
///
///
/// - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
diff --git a/src/NLog/Layouts/JsonAttribute.cs b/src/NLog/Layouts/JsonAttribute.cs
index 599587eef4..c6da83d9ca 100644
--- a/src/NLog/Layouts/JsonAttribute.cs
+++ b/src/NLog/Layouts/JsonAttribute.cs
@@ -89,7 +89,7 @@ public Layout Layout
}
///
- /// Determines wether or not this attribute will be Json encoded.
+ /// Determines whether or not this attribute will be Json encoded.
///
///
public bool Encode
diff --git a/src/NLog/Layouts/XmlAttribute.cs b/src/NLog/Layouts/XmlAttribute.cs
index b4d629510d..64b3a72ee3 100644
--- a/src/NLog/Layouts/XmlAttribute.cs
+++ b/src/NLog/Layouts/XmlAttribute.cs
@@ -93,7 +93,7 @@ public Layout Layout
}
///
- /// Determines wether or not this attribute will be Xml encoded.
+ /// Determines whether or not this attribute will be Xml encoded.
///
///
[DefaultValue(true)]
diff --git a/src/NLog/Layouts/XmlElement.cs b/src/NLog/Layouts/XmlElement.cs
index cb2fbeb533..1b80802b7a 100644
--- a/src/NLog/Layouts/XmlElement.cs
+++ b/src/NLog/Layouts/XmlElement.cs
@@ -77,7 +77,7 @@ public Layout Value
}
///
- /// Determines wether or not this attribute will be Xml encoded.
+ /// Determines whether or not this attribute will be Xml encoded.
///
[DefaultValue(true)]
public bool Encode
diff --git a/src/NLog/Layouts/XmlLayout.cs b/src/NLog/Layouts/XmlLayout.cs
index 771f84a238..b0b9093d93 100644
--- a/src/NLog/Layouts/XmlLayout.cs
+++ b/src/NLog/Layouts/XmlLayout.cs
@@ -82,7 +82,7 @@ public Layout ElementValue
}
///
- /// Determines wether or not this attribute will be Xml encoded.
+ /// Determines whether or not this attribute will be Xml encoded.
///
///
[DefaultValue(true)]
diff --git a/src/NLog/MessageTemplates/Template.cs b/src/NLog/MessageTemplates/Template.cs
index 9eb6637a2f..73048c8869 100644
--- a/src/NLog/MessageTemplates/Template.cs
+++ b/src/NLog/MessageTemplates/Template.cs
@@ -38,7 +38,7 @@
namespace NLog.MessageTemplates
{
///
- /// A mesage template
+ /// A message template
///
internal class Template
{
diff --git a/src/NLog/Targets/DatabaseParameterInfo.cs b/src/NLog/Targets/DatabaseParameterInfo.cs
index 155b30f358..486e178cf4 100644
--- a/src/NLog/Targets/DatabaseParameterInfo.cs
+++ b/src/NLog/Targets/DatabaseParameterInfo.cs
@@ -78,7 +78,7 @@ public DatabaseParameterInfo(string parameterName, Layout parameterLayout)
public string Name { get; set; }
///
- /// Gets or sets the layout that should be use to calcuate the value for the parameter.
+ /// Gets or sets the layout that should be use to calculate the value for the parameter.
///
///
[RequiredParameter]
diff --git a/src/NLog/Targets/FileTarget.cs b/src/NLog/Targets/FileTarget.cs
index 4e1a371700..3326bc18ab 100644
--- a/src/NLog/Targets/FileTarget.cs
+++ b/src/NLog/Targets/FileTarget.cs
@@ -709,7 +709,7 @@ public bool EnableArchiveFileCompression
#if SupportsMutex
///
- /// Gets or sets a value indicationg whether file creation calls should be synchronized by a system global mutex.
+ /// Gets or sets a value indicating whether file creation calls should be synchronized by a system global mutex.
///
///
[DefaultValue(false)]
diff --git a/src/NLog/Targets/NLogViewerParameterInfo.cs b/src/NLog/Targets/NLogViewerParameterInfo.cs
index d4a5fe1335..fb82df55eb 100644
--- a/src/NLog/Targets/NLogViewerParameterInfo.cs
+++ b/src/NLog/Targets/NLogViewerParameterInfo.cs
@@ -60,7 +60,7 @@ public NLogViewerParameterInfo()
public string Name { get; set; }
///
- /// Gets or sets the layout that should be use to calcuate the value for the parameter.
+ /// Gets or sets the layout that should be use to calculate the value for the parameter.
///
///
[RequiredParameter]
diff --git a/src/NLog/Targets/NetworkTargetConnectionsOverflowAction.cs b/src/NLog/Targets/NetworkTargetConnectionsOverflowAction.cs
index 249753f396..32228481fc 100644
--- a/src/NLog/Targets/NetworkTargetConnectionsOverflowAction.cs
+++ b/src/NLog/Targets/NetworkTargetConnectionsOverflowAction.cs
@@ -45,7 +45,7 @@ public enum NetworkTargetConnectionsOverflowAction
///
/// Just allow it.
///
- AllowNewConnnection,
+ AllowNewConnnection, //TODO Nlog 5 - fix typo and obsolete this one
///
/// Discard the connection item.
diff --git a/tools/MakeNLogXSD/TemplateXSD.xml b/tools/MakeNLogXSD/TemplateXSD.xml
index 713dc6dfa0..62eee0c0c0 100644
--- a/tools/MakeNLogXSD/TemplateXSD.xml
+++ b/tools/MakeNLogXSD/TemplateXSD.xml
@@ -78,7 +78,7 @@
- Perform mesage template parsing and formatting of LogEvent messages (true = Always, false = Never, empty = Auto Detect). Default value is: empty.
+ Perform message template parsing and formatting of LogEvent messages (true = Always, false = Never, empty = Auto Detect). Default value is: empty.