JCoder.Extension 3.9.1

dotnet add package JCoder.Extension --version 3.9.1                
NuGet\Install-Package JCoder.Extension -Version 3.9.1                
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="JCoder.Extension" Version="3.9.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JCoder.Extension --version 3.9.1                
#r "nuget: JCoder.Extension, 3.9.1"                
#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.
// Install JCoder.Extension as a Cake Addin
#addin nuget:?package=JCoder.Extension&version=3.9.1

// Install JCoder.Extension as a Cake Tool
#tool nuget:?package=JCoder.Extension&version=3.9.1                

JCoder.Extension

目录

[TOC]

一.架构说明

JCoder.Extension
语言 C#
协议 MIT
.Net框架 .Net Standard2.1; .Net Framework 4.7.2; .Net 7; .Net 6;
简述 A simple library for C# extension.(一款简易的用于c#的扩展库。)

1.1 引用类库

引用类库 版本
- -

1.2 相关类库

| 相关类库 | 说明 | | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | JCoder.Db4Net | 一款为方便使用数据库的操作类库。 | | JCoder.Db4Net.Sqlite | 一个基于JCoder.Db4Net且支持Sqlite的库。 | | JCoder.Db4Net.MySql | 一个基于JCoder.Db4Net且支持Mysql的库。 | | JCoder.Db4Net.SqlServer | 一个基于JCoder.Db4Net且支持SqlServer的库 。 | | JCoder.Mock4Net | 一款简易版的用于模拟数据的功能库。 | | JCoder.Log4Net | 一款用于日志记录的类库。 | | JCoder.Log4Net.Sqlite | 一款使用Sqlite进行日志记录的类库。 | | JCoder.Ioc4Net | 一款简易款的Ioc操作类库。 | | JCoder.Extension | A simple library for C# extension.(一款简易的用于c#的扩展库。) |

获取方式

  1. 版本要求:>=2.19.0
  2. 以版本2.19.0为例
获取方式 描述
Package Manager Install-Package JCoder.Extension -Version 2.19.0
.Net CLI dotnet add package JCoder.Extension --version 2.19.0
PackageReference <PackageReference Include="JCoder.Extension" Version="2.19.0" />
Paket CLI paket add JCoder.Extension --version 2.19.0
Script&Interactive #r "nuget: JCoder.Extension, 2.19.0"
Cake // Install JCoder.Extension as a Cake Addin<br/>#addin nuget:?package=JCoder.Extension&version=2.19.0<br/><br/>// Install JCoder.Extension as a Cake Tool<br/>#tool nuget:?package=JCoder.Extension&version=2.19.0

使用说明

  1. Array
   using JCoder.Extension;

   var _array = new string[]{"11","22"};

   //Foreach历遍所有项
   _array.Foreach(x => Console.Write(x));
   //Foreach历遍所有项(带下标)
   v.Foreach((i,x) => Console.Write($"第{i}个值为:{x}"));
   
   //判断Array是否为空或者为Null
   v.IsEmptyOrNull();

  1. Value
   using JCoder.Extension;
      
   "TestText".In("Text01", "Test", "TestText");// 文本是否在列表里   
   123.In(100, 20, 123);// 数值是否在列表里


实例使用

  1. 参考JCoder.Extension
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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 is compatible.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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.7.2

  • .NETStandard 2.1

  • net6.0

  • net7.0

  • net8.0

NuGet packages (1)

Showing the top 1 NuGet packages that depend on JCoder.Extension:

Package Downloads
JCoder.Extension.SqliteAssistKitsts

一款使用Sqlite进行辅助的工具库。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.9.1 92 11/4/2024
3.8.3 209 4/4/2024
3.8.2 146 4/4/2024
3.6.1 214 10/6/2023
3.5.2 200 9/27/2023

Please contact Jackie by QQ 1378071853 or E-mail JackieLaw-dev@outlook.com;