Skip to content

Commit

Permalink
Updated inline documentation to reflect property name.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed May 3, 2024
1 parent 38b6ca6 commit 9e65735
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/mhlib/HostsFileEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed class HostsFileEntry
public Hostname Hostname { get; set; }

/// <summary>
/// Get or set entry commentary.
/// Get or set entry comment.
/// </summary>
public string Comment { get; set; }

Expand All @@ -38,7 +38,7 @@ public sealed class HostsFileEntry
/// </summary>
/// <param name="IP">IP address.</param>
/// <param name="Host">Associated hostname.</param>
/// <param name="Comm">Entry commentary.</param>
/// <param name="Comm">Entry comment.</param>
public HostsFileEntry(IPAddress IP, Hostname Host, string Comm)
{
IPAddr = IP;
Expand All @@ -51,7 +51,7 @@ public HostsFileEntry(IPAddress IP, Hostname Host, string Comm)
/// </summary>
/// <param name="IP">IP address in string format.</param>
/// <param name="Host">Associated hostname.</param>
/// <param name="Comm">Entry commentary.</param>
/// <param name="Comm">Entry comment.</param>
public HostsFileEntry(string IP, string Host, string Comm)
{
IPAddr = IPAddress.Parse(IP);
Expand Down
4 changes: 2 additions & 2 deletions src/mhlib/HostsFileEntryParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed class HostsFileEntryParser
public string Host { get; private set; }

/// <summary>
/// Gets or sets commentary as a string.
/// Gets or sets comment as a string.
/// </summary>
public string Comment { get; private set; }

Expand Down Expand Up @@ -92,7 +92,7 @@ public static HostsFileEntryParser Parse(string SrcStr)
/// </summary>
/// <param name="IPStr">IP address field as a string.</param>
/// <param name="HostStr">Hostname field as a string.</param>
/// <param name="CommentStr">Commentary field as a string.</param>
/// <param name="CommentStr">Comment field as a string.</param>
private HostsFileEntryParser(string IPStr, string HostStr, string CommentStr)
{
IP = IPStr;
Expand Down
2 changes: 1 addition & 1 deletion src/mhlib/HostsFileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public bool MultiByteEncoding
/// </summary>
/// <param name="IP">IP address.</param>
/// <param name="Host">Associated hostname.</param>
/// <param name="Comm">Entry commentary.</param>
/// <param name="Comm">Entry comment.</param>
public void AddEntry(IPAddress IP, Hostname Host, string Comm)
{
Contents.Add(new HostsFileEntry(IP, Host, Comm));
Expand Down

0 comments on commit 9e65735

Please sign in to comment.