Skip to content

Commit 7e1df41

Browse files
committed
End comments with periods.
Hopefully I didn't miss any.
1 parent 3ccd7fc commit 7e1df41

File tree

89 files changed

+188
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+188
-188
lines changed

PcapDotNet/src/PcapDotNet.Packets/Dhcp/DhcpDatagram.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private static class Offset
7474

7575
/// <summary>
7676
/// RFC 2131.
77-
/// Message op code
77+
/// Message op code.
7878
/// </summary>
7979
public DhcpMessageType MessageType
8080
{
@@ -83,7 +83,7 @@ public DhcpMessageType MessageType
8383

8484
/// <summary>
8585
/// RFC 2131.
86-
/// Hardware address type
86+
/// Hardware address type.
8787
/// </summary>
8888
public ArpHardwareType HardwareType
8989
{
@@ -92,7 +92,7 @@ public ArpHardwareType HardwareType
9292

9393
/// <summary>
9494
/// RFC 2131.
95-
/// Hardware address length
95+
/// Hardware address length.
9696
/// </summary>
9797
public byte HardwareAddressLength
9898
{
@@ -128,7 +128,7 @@ public ushort SecondsElapsed
128128

129129
/// <summary>
130130
/// RFC 2131.
131-
/// Flags
131+
/// Flags.
132132
/// </summary>
133133
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1726:UsePreferredTerms", MessageId = "Flags")]
134134
public DhcpFlags Flags
@@ -182,7 +182,7 @@ public DataSegment ClientHardwareAddress
182182
}
183183

184184
/// <summary>
185-
/// Client MAC address
185+
/// Client MAC address.
186186
/// </summary>
187187
public MacAddress ClientMacAddress
188188
{
@@ -191,7 +191,7 @@ public MacAddress ClientMacAddress
191191

192192
/// <summary>
193193
/// RFC 2131.
194-
/// Optional server host name
194+
/// Optional server host name.
195195
/// </summary>
196196
public string ServerHostName
197197
{
@@ -217,7 +217,7 @@ public string BootFileName
217217

218218
/// <summary>
219219
/// RFC 2131.
220-
/// true if the magic dhcp-cookie is set
220+
/// true if the magic dhcp-cookie is set. If set this datagram is a dhcp-datagram. Otherwise it's a bootp-datagram.
221221
/// </summary>
222222
public bool IsDhcp
223223
{
@@ -236,7 +236,7 @@ public bool IsDhcp
236236

237237
/// <summary>
238238
/// RFC 2131.
239-
/// Optional parameters field
239+
/// Optional parameters field.
240240
/// </summary>
241241
public IReadOnlyCollection<DhcpOption> Options
242242
{

PcapDotNet/src/PcapDotNet.Packets/Dhcp/DhcpLayer.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ namespace PcapDotNet.Packets.Dhcp
1818
public sealed class DhcpLayer : SimpleLayer, IEquatable<DhcpLayer>
1919
{
2020
/// <summary>
21-
/// Message op code
21+
/// Message op code.
2222
/// </summary>
2323
public DhcpMessageType MessageType { get; set; }
2424

2525
/// <summary>
26-
/// Hardware address type
26+
/// Hardware address type.
2727
/// </summary>
2828
public ArpHardwareType HardwareType { get; set; }
2929

3030
/// <summary>
31-
/// Hardware address length
31+
/// Hardware address length.
3232
/// </summary>
3333
public byte HardwareAddressLength { get; set; }
3434

@@ -48,7 +48,7 @@ public sealed class DhcpLayer : SimpleLayer, IEquatable<DhcpLayer>
4848
public ushort SecondsElapsed { get; set; }
4949

5050
/// <summary>
51-
/// Flags
51+
/// Flags.
5252
/// </summary>
5353
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1726:UsePreferredTerms", MessageId = "Flags")]
5454
public DhcpFlags DhcpFlags { get; set; }
@@ -79,7 +79,7 @@ public sealed class DhcpLayer : SimpleLayer, IEquatable<DhcpLayer>
7979
public DataSegment ClientHardwareAddress { get; set; }
8080

8181
/// <summary>
82-
/// Client MAC address
82+
/// Client MAC address.
8383
/// </summary>
8484
public MacAddress ClientMacAddress
8585
{
@@ -98,7 +98,7 @@ public MacAddress ClientMacAddress
9898
}
9999

100100
/// <summary>
101-
/// Optional server host name
101+
/// Optional server host name.
102102
/// </summary>
103103
public string ServerHostName { get; set; }
104104

@@ -108,12 +108,12 @@ public MacAddress ClientMacAddress
108108
public string BootFileName { get; set; }
109109

110110
/// <summary>
111-
/// true if the magic dhcp-cookie is set
111+
/// true if the magic dhcp-cookie is set. If set this datagram is a dhcp-datagram. Otherwise it's a bootp-datagram.
112112
/// </summary>
113113
public bool IsDhcp { get; set; }
114114

115115
/// <summary>
116-
/// Optional parameters field
116+
/// Optional parameters field.
117117
/// </summary>
118118
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
119119
public IList<DhcpOption> Options { get; set; }

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpARPCacheTimeoutOption.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace PcapDotNet.Packets.Dhcp.Options
1919
public class DhcpArpCacheTimeoutOption : DhcpUIntOption
2020
{
2121
/// <summary>
22-
/// create new ArpCacheTimeoutOption
22+
/// create new ArpCacheTimeoutOption.
2323
/// </summary>
2424
/// <param name="time">Time</param>
2525
public DhcpArpCacheTimeoutOption(uint time) : base(time, DhcpOptionCode.ArpCacheTimeout)
@@ -34,7 +34,7 @@ internal static DhcpArpCacheTimeoutOption Read(DataSegment data, ref int offset)
3434
/// <summary>
3535
/// RFC 2132.
3636
/// Time
37-
/// timeout in seconds for ARP cache entries
37+
/// timeout in seconds for ARP cache entries.
3838
/// </summary>
3939
public uint Time
4040
{

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpAddressListOption.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace PcapDotNet.Packets.Dhcp.Options
1010
{
1111
/// <summary>
12-
/// Abstract class for all Dhcp-Options with a list of Addresses
12+
/// Abstract class for all Dhcp-Options with a list of Addresses.
1313
/// </summary>
1414
public abstract class DhcpAddressListOption : DhcpOption
1515
{
@@ -61,7 +61,7 @@ internal override void Write(byte[] buffer, ref int offset)
6161
}
6262

6363
/// <summary>
64-
/// true if Addresses-List is allowed to be empty (Default false)
64+
/// true if Addresses-List is allowed to be empty (Default false).
6565
/// </summary>
6666
protected virtual bool AllowEmptyAddresses
6767
{
@@ -70,7 +70,7 @@ protected virtual bool AllowEmptyAddresses
7070

7171
/// <summary>
7272
/// RFC 2132.
73-
/// Value of Length-Field
73+
/// Value of Length-Field.
7474
/// </summary>
7575
public override byte Length
7676
{
@@ -82,7 +82,7 @@ public override byte Length
8282

8383
/// <summary>
8484
/// RFC 2132.
85-
/// collection of all addresses of this option
85+
/// collection of all addresses of this option.
8686
/// </summary>
8787
public IReadOnlyCollection<IpV4Address> Addresses
8888
{

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpAllSubnetsAreLocalOption.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace PcapDotNet.Packets.Dhcp.Options
2323
public class DhcpAllSubnetsAreLocalOption : DhcpBooleanOption
2424
{
2525
/// <summary>
26-
/// create new AllSubnetsAreLocalOption
26+
/// create new AllSubnetsAreLocalOption.
2727
/// </summary>
2828
/// <param name="value">Value</param>
2929
public DhcpAllSubnetsAreLocalOption(bool value) : base(value, DhcpOptionCode.AllSubnetsAreLocal)

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpAnyOption.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
namespace PcapDotNet.Packets.Dhcp.Options
88
{
99
/// <summary>
10-
/// DHCP option for any options
10+
/// DHCP option for any options.
1111
/// </summary>
1212
public class DhcpAnyOption : DhcpOption
1313
{
1414
/// <summary>
15-
/// create new Any-Option
15+
/// create new Any-Option.
1616
/// </summary>
1717
/// <param name="data">data represented by the option</param>
1818
/// <param name="code">the OptionCode</param>
@@ -22,7 +22,7 @@ public DhcpAnyOption(DataSegment data, DhcpOptionCode code) : base(code)
2222
}
2323

2424
/// <summary>
25-
/// Length of the Dhcp-Option
25+
/// Length of the Dhcp-Option.
2626
/// </summary>
2727
public override byte Length
2828
{
@@ -50,7 +50,7 @@ internal override void Write(byte[] buffer, ref int offset)
5050
}
5151

5252
/// <summary>
53-
/// Data of the Option
53+
/// Data of the Option.
5454
/// </summary>
5555
public DataSegment Data
5656
{

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpBooleanOption.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace PcapDotNet.Packets.Dhcp.Options
99
{
1010
/// <summary>
11-
/// Abstract class for all Dhcp-Options with a boolean value
11+
/// Abstract class for all Dhcp-Options with a boolean value.
1212
/// </summary>
1313
public class DhcpBooleanOption : DhcpOption
1414
{
@@ -38,7 +38,7 @@ internal override void Write(byte[] buffer, ref int offset)
3838

3939
/// <summary>
4040
/// RFC 2132.
41-
/// Value of Length-Field
41+
/// Value of Length-Field.
4242
/// </summary>
4343
public override byte Length
4444
{
@@ -49,7 +49,7 @@ public override byte Length
4949
}
5050

5151
/// <summary>
52-
/// The real value of the BooleanOption
52+
/// The real value of the BooleanOption.
5353
/// </summary>
5454
protected bool InternalValue
5555
{

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpBootFileSizeOption.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace PcapDotNet.Packets.Dhcp.Options
2121
public class DhcpBootFileSizeOption : DhcpUShortOption
2222
{
2323
/// <summary>
24-
/// create new DhcpBootFileSizeOption
24+
/// create new DhcpBootFileSizeOption.
2525
/// </summary>
2626
/// <param name="fileSize">File Size</param>
2727
public DhcpBootFileSizeOption(ushort fileSize) : base(fileSize, DhcpOptionCode.BootFileSize)
@@ -34,7 +34,7 @@ internal static DhcpBootFileSizeOption Read(DataSegment data, ref int offset)
3434
}
3535

3636
/// <summary>
37-
/// File Size
37+
/// File Size.
3838
/// </summary>
3939
public ushort FileSize
4040
{

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpBootfileNameOption.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace PcapDotNet.Packets.Dhcp.Options
2020
public class DhcpBootfileNameOption : DhcpStringOption
2121
{
2222
/// <summary>
23-
/// create new DhcpBootfileNameOption
23+
/// create new DhcpBootfileNameOption.
2424
/// </summary>
2525
/// <param name="bootfileName">Bootfilename</param>
2626
public DhcpBootfileNameOption(string bootfileName) : base(bootfileName, DhcpOptionCode.BootfileName)
@@ -33,7 +33,7 @@ internal static DhcpBootfileNameOption Read(DataSegment data, ref int offset)
3333
}
3434

3535
/// <summary>
36-
/// Bootfilename
36+
/// Bootfilename.
3737
/// </summary>
3838
public string BootfileName
3939
{

PcapDotNet/src/PcapDotNet.Packets/Dhcp/Options/DhcpBroadcastAddressOption.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace PcapDotNet.Packets.Dhcp.Options
2121
public class DhcpBroadcastAddressOption : DhcpSingleAddressOption
2222
{
2323
/// <summary>
24-
/// create new DhcpBroadcastAddressOption
24+
/// create new DhcpBroadcastAddressOption.
2525
/// </summary>
2626
/// <param name="broadcastAddress">Broadcast Address</param>
2727
public DhcpBroadcastAddressOption(IpV4Address broadcastAddress) : base(broadcastAddress, DhcpOptionCode.BroadcastAddress)

0 commit comments

Comments
 (0)