64e3fbe035
v2-ci / build (push) Failing after 1m43s
v2-ci / unit-tests (tests/Core/ZB.MOM.WW.OtOpcUa.Cluster.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.ControlPlane.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Security.Tests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.Host.IntegrationTests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests) (push) Has been skipped
Adds <summary>, <param>, <typeparam>, and <inheritdoc/> tags to public members surfaced by commentchecker — resolves 5,847 of 5,869 issues (99.6%) across three /fixdocs passes.
27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
namespace ZB.MOM.WW.OtOpcUa.Client.Shared.Models;
|
|
|
|
/// <summary>
|
|
/// Event data raised when the client connection state changes.
|
|
/// </summary>
|
|
public sealed class ConnectionStateChangedEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the ConnectionStateChangedEventArgs class.</summary>
|
|
/// <param name="oldState">The previous connection state.</param>
|
|
/// <param name="newState">The new connection state.</param>
|
|
/// <param name="endpointUrl">The endpoint URL associated with the state change.</param>
|
|
public ConnectionStateChangedEventArgs(ConnectionState oldState, ConnectionState newState, string endpointUrl)
|
|
{
|
|
OldState = oldState;
|
|
NewState = newState;
|
|
EndpointUrl = endpointUrl;
|
|
}
|
|
|
|
/// <summary>The previous connection state.</summary>
|
|
public ConnectionState OldState { get; }
|
|
|
|
/// <summary>The new connection state.</summary>
|
|
public ConnectionState NewState { get; }
|
|
|
|
/// <summary>The endpoint URL associated with the state change.</summary>
|
|
public string EndpointUrl { get; }
|
|
} |