bd6c0b4d3d
Add missing <returns>/<param>/<summary>/<typeparam> tags and clean up misused inheritdoc across 481 files so the documented API surface is complete. Documentation-only (zero code lines changed). The 131 remaining findings are inheritdoc-style warnings deliberately left to preserve hand-written implementation rationale (plan-decision notes, race-condition explanations).
25 lines
916 B
C#
25 lines
916 B
C#
using ZB.MOM.WW.OtOpcUa.Client.Shared;
|
|
|
|
namespace ZB.MOM.WW.OtOpcUa.Client.CLI.Tests.Fakes;
|
|
|
|
/// <summary>
|
|
/// Fake factory that returns a pre-configured <see cref="FakeOpcUaClientService" /> for testing.
|
|
/// </summary>
|
|
public sealed class FakeOpcUaClientServiceFactory : IOpcUaClientServiceFactory
|
|
{
|
|
private readonly FakeOpcUaClientService _service;
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="FakeOpcUaClientServiceFactory"/> class.</summary>
|
|
/// <param name="service">The fake OPC UA client service to return.</param>
|
|
public FakeOpcUaClientServiceFactory(FakeOpcUaClientService service)
|
|
{
|
|
_service = service;
|
|
}
|
|
|
|
/// <summary>Creates and returns the fake OPC UA client service.</summary>
|
|
/// <returns>The pre-configured <see cref="FakeOpcUaClientService"/> instance.</returns>
|
|
public IOpcUaClientService Create()
|
|
{
|
|
return _service;
|
|
}
|
|
} |