ExcelConfig 1.0.3.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package ExcelConfig --version 1.0.3.2
                    
NuGet\Install-Package ExcelConfig -Version 1.0.3.2
                    
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="ExcelConfig" Version="1.0.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ExcelConfig" Version="1.0.3.2" />
                    
Directory.Packages.props
<PackageReference Include="ExcelConfig" />
                    
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 ExcelConfig --version 1.0.3.2
                    
#r "nuget: ExcelConfig, 1.0.3.2"
                    
#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 ExcelConfig@1.0.3.2
                    
#: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=ExcelConfig&version=1.0.3.2
                    
Install as a Cake Addin
#tool nuget:?package=ExcelConfig&version=1.0.3.2
                    
Install as a Cake Tool

ExcelConfig

一个快速读取xlsx 格式配置文件的库。

  • AppConfig

      public static string Text(string key)
      public static void WriteText(string key, string value)
      public static decimal Number(string key)
      public static string[] Array(string key)
      public static bool YesOrNo(string key)
      public static void WriteYesOrNo(string key, bool value)
    
  • ExcelFile

      public static ExcelFile Load(string path, string sheet)
      public void ToSheet(string sheetname)
      public void SetKeyField(string fieldName)
      public void SetValueField(string fieldName)
      public string Text(string name)
      public decimal Number(string name)
      public bool YesOrNo(string name)
      public string[] Array(string name)
      public SheetLine ReadLine(string key)
      public IEnumerable<SheetLine> ReadAllLine()
    
  • SheetLine

      public string Text(string name)
      public decimal Number(string name)
      public bool YesOrNo(string name)
      public string[] Array(string name)
    
  • GlobalSetting 参数配置

      public static string YES = "是的";
      public static string NO = "不是";
      /// <summary>
      /// 数组分割符
      /// </summary>
      public static char ArraySplitChar = ';';
    
      public static string SHEET_Global = "全局";
      public static string CONFIG_DEFAULT = "app";
      public static string CONFIG_SUFFIX = ".config.xlsx";
      public static string FIELD_ExtraConfigPath = "额外配置目录";
      public static string SHEET_ExtraConfig = "额外配置目录";
      public static string COLUMN_KEY = "名称";
      public static string COLUMN_VALUE = "值";
    
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ExcelConfig:

Package Downloads
ExcelConfig.StoreAPI

config store server apis.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3.13 115 8/6/2025
1.0.3.12 60 8/1/2025
1.0.3.11 437 7/24/2025
1.0.3.10 436 7/24/2025
1.0.3.9 140 6/19/2025
1.0.3.8 187 6/17/2025
1.0.3.7 337 6/11/2025
1.0.3.6 139 6/4/2025
1.0.3.5 135 5/30/2025
1.0.3.4 140 5/29/2025
1.0.3.3 156 5/9/2025
1.0.3.2 107 2/25/2025
1.0.3 105 2/25/2025
1.0.2 111 2/17/2025
1.0.1 116 11/28/2024
1.0.0 123 11/15/2024