SettingHelp 1.0.3

dotnet add package SettingHelp --version 1.0.3
                    
NuGet\Install-Package SettingHelp -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SettingHelp" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SettingHelp" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="SettingHelp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SettingHelp --version 1.0.3
                    
#r "nuget: SettingHelp, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SettingHelp@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SettingHelp&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=SettingHelp&version=1.0.3
                    
Install as a Cake Tool

配置文件的名字必须为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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
1.0.3 547 6/21/2022
1.0.2 498 5/4/2021
1.0.1 629 1/2/2020
1.0.0 782 1/2/2020 1.0.0 is deprecated because it is no longer maintained.

配置文件的名字必须为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