Skip to content

Commit 35f8b93

Browse files
committed
doc: 更新文档
1 parent b36bcf5 commit 35f8b93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/BootstrapBlazor/Services/TcpSocket/SocketClientOptions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace BootstrapBlazor.Components;
1010
/// <summary>
1111
/// Represents configuration options for a socket client, including buffer sizes, timeouts, and endpoints.
1212
/// </summary>
13-
/// <remarks>Use this class to configure various settings for a socket client, such as connection timeouts,
13+
/// <remarks>Use this class to configure various settings for a socket client, such as connection timeouts,
1414
/// buffer sizes, and local or remote endpoints. These options allow fine-tuning of socket behavior to suit specific
1515
/// networking scenarios.</remarks>
1616
public class SocketClientOptions
@@ -49,14 +49,14 @@ public class SocketClientOptions
4949
/// Gets or sets the local endpoint for the socket client. Default value is <see cref="IPAddress.Any"/>
5050
/// </summary>
5151
/// <remarks>This property specifies the local network endpoint that the socket client will bind to when establishing a connection.</remarks>
52-
public IPEndPoint LocalEndPoint { get; set; } = new IPEndPoint(IPAddress.Any, 0);
52+
public IPEndPoint LocalEndPoint { get; set; } = new(IPAddress.Any, 0);
5353

5454
/// <summary>
5555
/// Gets or sets a value indicating whether logging is enabled. Default value is false.
5656
/// </summary>
5757
public bool EnableLog { get; set; }
58-
59-
/// <summary>
58+
59+
/// <summary>
6060
/// Gets or sets a value indicating whether the system should automatically attempt to reconnect after a connection is lost. Default value is false.
6161
/// </summary>
6262
public bool IsAutoReconnect { get; set; }

0 commit comments

Comments
 (0)