SettingHelp 1.0.3
dotnet add package SettingHelp --version 1.0.3
NuGet\Install-Package SettingHelp -Version 1.0.3
<PackageReference Include="SettingHelp" Version="1.0.3" />
paket add SettingHelp --version 1.0.3
#r "nuget: SettingHelp, 1.0.3"
// Install SettingHelp as a Cake Addin
#addin nuget:?package=SettingHelp&version=1.0.3
// Install SettingHelp as a Cake Tool
#tool nuget:?package=SettingHelp&version=1.0.3
配置文件的名字必须为appsettings.json。支持中文配置。方法中的泛型T表示json的结构。
使用方法: SettingHelp.Help.createSetting().getvalue<T>()
1.0.2新增:
添加getvalue<T>(string path) 方法, path为json文件中想要查询字段的路径,从根路径开始,多层路径之间用英文句号分隔, 例如 {a:b,c:{d:f}} ,想要获取值f , path为 c.d
1.0.3新增:
修改中文字符格式由GBK改为utf8
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 12.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SettingHelp:
Package | Downloads |
---|---|
jiandanLog
一个简单的日志系统,支持多线程调用,内部采用一个线程安全的队列用来记录日志信息, 用一个线程循环读取队列信息,并把信息存入txt文件 使用说明: 1 需要有一个文件名为 appsettings.json 的配置文件,里面需要有一个配置项 logpath ,用来配置日志存放位置 2 调用方式 LGHelp.addlogasync(new M_log { Jb = jiebie.yichang, mokuai = "模块信息", message = "日志内容信息" }); |
GitHub repositories
This package is not used by any popular GitHub repositories.
配置文件的名字必须为appsettings.json。支持中文配置。方法中的泛型T表示json的结构。
使用方法: SettingHelp.Help.createSetting().getvalue<T>()
1.0.2新增:
添加getvalue<T>(string path) 方法, path为json文件中想要查询字段的路径,从根路径开始,多层路径之间用英文句号分隔, 例如 {a:b,c:{d:f}} ,想要获取值f , path为 c.d
1.0.3新增:
修改中文字符格式由GBK改为utf8