eabf270d71
Resolve all 622 issues flagged by the enhanced CommentChecker: add missing <returns> tags (incl. the standard phrasing on non-generic Task methods), add missing <summary> tags, and replace misused/redundant <inheritdoc/> on members that override or implement nothing with real documentation. Documentation-only — no behavior change; solution builds clean.
20 lines
736 B
C#
20 lines
736 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace ZB.MOM.WW.ScadaBridge.ManagementService;
|
|
|
|
public static class ServiceCollectionExtensions
|
|
{
|
|
/// <summary>
|
|
/// Registers the management actor holder and management service options.
|
|
/// </summary>
|
|
/// <param name="services">The service collection to register into.</param>
|
|
/// <returns>The <paramref name="services"/> instance for chaining.</returns>
|
|
public static IServiceCollection AddManagementService(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton<ManagementActorHolder>();
|
|
services.AddOptions<ManagementServiceOptions>()
|
|
.BindConfiguration("ScadaBridge:ManagementService");
|
|
return services;
|
|
}
|
|
}
|