Skip to content

Commit

Permalink
Fix typos in docs (#3482)
Browse files Browse the repository at this point in the history
  • Loading branch information
304NotModified committed Jun 13, 2019
1 parent 218961f commit 6c8a16f
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/NLog/Config/ConfigurationItemFactory.cs
Expand Up @@ -199,7 +199,7 @@ public IValueFormatter ValueFormatter
public IPropertyTypeConverter PropertyTypeConverter { get; set; } = new PropertyTypeConverter();

/// <summary>
/// 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)
/// </summary>
/// <remarks>
/// - Null (Auto Detect) : NLog-parser checks <see cref="LogEventInfo.Message"/> for positional parameters, and will then fallback to string.Format-rendering.
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Layouts/JsonAttribute.cs
Expand Up @@ -89,7 +89,7 @@ public Layout Layout
}

/// <summary>
/// Determines wether or not this attribute will be Json encoded.
/// Determines whether or not this attribute will be Json encoded.
/// </summary>
/// <docgen category='JSON Attribute Options' order='100' />
public bool Encode
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Layouts/XmlAttribute.cs
Expand Up @@ -93,7 +93,7 @@ public Layout Layout
}

/// <summary>
/// Determines wether or not this attribute will be Xml encoded.
/// Determines whether or not this attribute will be Xml encoded.
/// </summary>
/// <docgen category='XML Attribute Options' order='100' />
[DefaultValue(true)]
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Layouts/XmlElement.cs
Expand Up @@ -77,7 +77,7 @@ public Layout Value
}

/// <summary>
/// Determines wether or not this attribute will be Xml encoded.
/// Determines whether or not this attribute will be Xml encoded.
/// </summary>
[DefaultValue(true)]
public bool Encode
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Layouts/XmlLayout.cs
Expand Up @@ -82,7 +82,7 @@ public Layout ElementValue
}

/// <summary>
/// Determines wether or not this attribute will be Xml encoded.
/// Determines whether or not this attribute will be Xml encoded.
/// </summary>
/// <docgen category='XML Options' order='100' />
[DefaultValue(true)]
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/MessageTemplates/Template.cs
Expand Up @@ -38,7 +38,7 @@
namespace NLog.MessageTemplates
{
/// <summary>
/// A mesage template
/// A message template
/// </summary>
internal class Template
{
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Targets/DatabaseParameterInfo.cs
Expand Up @@ -78,7 +78,7 @@ public DatabaseParameterInfo(string parameterName, Layout parameterLayout)
public string Name { get; set; }

/// <summary>
/// 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.
/// </summary>
/// <docgen category='Parameter Options' order='1' />
[RequiredParameter]
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Targets/FileTarget.cs
Expand Up @@ -709,7 +709,7 @@ public bool EnableArchiveFileCompression

#if SupportsMutex
/// <summary>
/// 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.
/// </summary>
/// <docgen category='Output Options' order='10' />
[DefaultValue(false)]
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Targets/NLogViewerParameterInfo.cs
Expand Up @@ -60,7 +60,7 @@ public NLogViewerParameterInfo()
public string Name { get; set; }

/// <summary>
/// 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.
/// </summary>
/// <docgen category='Parameter Options' order='10' />
[RequiredParameter]
Expand Down
2 changes: 1 addition & 1 deletion src/NLog/Targets/NetworkTargetConnectionsOverflowAction.cs
Expand Up @@ -45,7 +45,7 @@ public enum NetworkTargetConnectionsOverflowAction
/// <summary>
/// Just allow it.
/// </summary>
AllowNewConnnection,
AllowNewConnnection, //TODO Nlog 5 - fix typo and obsolete this one

/// <summary>
/// Discard the connection item.
Expand Down
2 changes: 1 addition & 1 deletion tools/MakeNLogXSD/TemplateXSD.xml
Expand Up @@ -78,7 +78,7 @@
</xs:attribute>
<xs:attribute name="parseMessageTemplates" type="xs:boolean">
<xs:annotation>
<xs:documentation>Perform mesage template parsing and formatting of LogEvent messages (true = Always, false = Never, empty = Auto Detect). Default value is: empty.</xs:documentation>
<xs:documentation>Perform message template parsing and formatting of LogEvent messages (true = Always, false = Never, empty = Auto Detect). Default value is: empty.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
Expand Down

0 comments on commit 6c8a16f

Please sign in to comment.