From 9e657356e15bcab4d7731791dbc75a57185cdd1e Mon Sep 17 00:00:00 2001 From: Vitaly Date: Fri, 3 May 2024 15:10:31 +0200 Subject: [PATCH] Updated inline documentation to reflect property name. --- src/mhlib/HostsFileEntry.cs | 6 +++--- src/mhlib/HostsFileEntryParser.cs | 4 ++-- src/mhlib/HostsFileManager.cs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mhlib/HostsFileEntry.cs b/src/mhlib/HostsFileEntry.cs index 43cfea8..1977ef0 100644 --- a/src/mhlib/HostsFileEntry.cs +++ b/src/mhlib/HostsFileEntry.cs @@ -24,7 +24,7 @@ public sealed class HostsFileEntry public Hostname Hostname { get; set; } /// - /// Get or set entry commentary. + /// Get or set entry comment. /// public string Comment { get; set; } @@ -38,7 +38,7 @@ public sealed class HostsFileEntry /// /// IP address. /// Associated hostname. - /// Entry commentary. + /// Entry comment. public HostsFileEntry(IPAddress IP, Hostname Host, string Comm) { IPAddr = IP; @@ -51,7 +51,7 @@ public HostsFileEntry(IPAddress IP, Hostname Host, string Comm) /// /// IP address in string format. /// Associated hostname. - /// Entry commentary. + /// Entry comment. public HostsFileEntry(string IP, string Host, string Comm) { IPAddr = IPAddress.Parse(IP); diff --git a/src/mhlib/HostsFileEntryParser.cs b/src/mhlib/HostsFileEntryParser.cs index f3ad9f8..9685cc8 100644 --- a/src/mhlib/HostsFileEntryParser.cs +++ b/src/mhlib/HostsFileEntryParser.cs @@ -24,7 +24,7 @@ public sealed class HostsFileEntryParser public string Host { get; private set; } /// - /// Gets or sets commentary as a string. + /// Gets or sets comment as a string. /// public string Comment { get; private set; } @@ -92,7 +92,7 @@ public static HostsFileEntryParser Parse(string SrcStr) /// /// IP address field as a string. /// Hostname field as a string. - /// Commentary field as a string. + /// Comment field as a string. private HostsFileEntryParser(string IPStr, string HostStr, string CommentStr) { IP = IPStr; diff --git a/src/mhlib/HostsFileManager.cs b/src/mhlib/HostsFileManager.cs index ef24baa..22ccf4a 100644 --- a/src/mhlib/HostsFileManager.cs +++ b/src/mhlib/HostsFileManager.cs @@ -57,7 +57,7 @@ public bool MultiByteEncoding /// /// IP address. /// Associated hostname. - /// Entry commentary. + /// Entry comment. public void AddEntry(IPAddress IP, Hostname Host, string Comm) { Contents.Add(new HostsFileEntry(IP, Host, Comm));