这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
feijie 089a197a9e feat(docs): 添加Core模块文档 1 year ago
..
AbpCommonModule.cs upgrade abp framework to 8.2.0 1 year ago
DynamicOptionsProvider.cs upgrade abp framework to 8.2.0 1 year ago
FodyWeavers.xml upgrade(abp): upgrade abp framework to 7.4.0 2 years ago
FodyWeavers.xsd 🔧 chore: use Directory.Packages.props 2 years ago
IOptionsProvider.cs upgrade abp framework to 8.2.0 1 year ago
LINGYUN.Abp.Core.csproj upgrade abp framework to 8.2.0 1 year ago
README.EN.md feat(docs): 添加Core模块文档 1 year ago
README.md feat(docs): 添加Core模块文档 1 year ago

README.md

LINGYUN.Abp.Core

介绍

LINGYUN.Abp.Core 是一个基础核心模块,提供了一些通用的功能和扩展。

功能

  • 动态选项提供者 (DynamicOptionsProvider<TValue>)
    • 简化需要在使用配置前自行调用接口的繁复步骤
    • 支持延迟加载配置值
    • 提供一次性运行机制,确保配置只被加载一次

安装

dotnet add package LINGYUN.Abp.Core

使用

  1. 添加 [DependsOn(typeof(AbpCommonModule))] 到你的模块类上。
[DependsOn(typeof(AbpCommonModule))]
public class YourModule : AbpModule
{
    // ...
}
  1. 使用动态选项提供者:
public class YourOptionsProvider : DynamicOptionsProvider<YourOptions>
{
    public YourOptionsProvider(IOptions<YourOptions> options) 
        : base(options)
    {
    }
}

链接