Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in docs #3482

Merged
merged 1 commit into from Jun 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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