Skip to content

Commit 38fc7e9

Browse files
committed
feat: 增加扩展服务
1 parent 01c42a2 commit 38fc7e9

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// Website: https://www.blazor.zone or https://argozhang.github.io/
4+
5+
namespace Microsoft.Extensions.DependencyInjection;
6+
7+
/// <summary>
8+
/// OpcUa 服务扩展类
9+
/// </summary>
10+
public static class ServiceCollectionExtensions
11+
{
12+
/// <summary>
13+
/// 增加 OpcUa 数据服务
14+
/// </summary>
15+
/// <param name="services"></param>
16+
/// <returns></returns>
17+
public static IServiceCollection AddBootstrapBlazorOpcUaService(this IServiceCollection services)
18+
{
19+
return services;
20+
}
21+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@using Microsoft.AspNetCore.Components.Web

0 commit comments

Comments
 (0)