JCoder 2.20.1

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

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

JCoder

属性
作者(Authors) Jackie Law
版权(Copyright) Copyright © Jackie Law. All rights reserved.
协议 MIT
联系(QQ) 1378071853
联系(Wechat) JackieLaw1024
联系(Email) JackieLaw-dev@outlook.com

目录

[TOC]


一.架构说明

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

1.1 引用类库

引用类库 版本
- -

1.2 相关类库

相关类库 说明
JCoder 一款为方便使用数据库的操作类库。
JCoder.Sqlite 一个基于JCoder且支持Sqlite的库。
JCoder.MySql 一个基于JCoder且支持Mysql的库。
JCoder.SqlServer 一个基于JCoder且支持SqlServer的库 。
JCoder.Mock4Net 一款简易版的用于模拟数据的功能库。
JCoder.Log4Net 一款用于日志记录的类库。
JCoder.Log4Net.Sqlite 一款使用Sqlite进行日志记录的类库。
JCoder.Ioc4Net 一款简易款的Ioc操作类库。
JCoder.Extension A simple library for C# extension.(一款简易的用于c#的扩展库。)
JCoder The base library of JCoder Serial. This library focus on C# extension.(JCoder库系列的基础库,聚焦于c#的扩展。)

1.3 重要更新

版本 说明
2.0 将JCoder.Extension迁移并集成到JCoder里。
2.14 将JCoder.Data迁移并集成到JCoder里。
2.16 增加枚举扩展类EnumExt。

获取方式

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

使用说明

  1. Array
   using JCoder;

   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;
      
   "TestText".In("Text01", "Test", "TestText");// 文本是否在列表里   
   123.In(100, 20, 123);// 数值是否在列表里


  1. String
   using JCoder;
      
   // 以指定文本为分隔符,截取文本
   "abc12323df".LeftAt("2", true) // "abc12"
   "abc12323df".LeftAt("2", false) // "abc1"
   "abc12323df".RightAt("2", true) // "23df"
   "abc12323df".RightAt("2", false) // "3df"
   
   // 截取指定长度的文本
   "abc12323df".Left("2") // "ab"
   "abc12323df".Right("2") // "df"


实例使用

  1. 参考JCoder
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

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on JCoder:

Package Downloads
JCoder.Db4Net

A simple base Database using library.(一款为方便使用数据库的操作类库。)

JCoder.Extension

A simple library for C# extension.(一款简易的用于c#的扩展库。)

JCoder.Network

A simple library for network function.(一款简易版的用于网络相关的功能库)

JCoder.Extension.SqliteAssistKitsts

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

JCoder.Log4Net.Sqlite

A simple log message library by sqlite and it base on JCoder.Log4Net.(一款基于JCoder.Log4Net的用Sqlite记录信息的简易类库)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.20.1 115 11/24/2024
2.19.1 1,065 10/29/2024
2.18.1 311 9/17/2024
2.17.2 114 9/17/2024
2.17.1 95 9/8/2024
2.16.3 287 9/7/2024
2.16.2 119 9/7/2024
2.16.1 114 9/7/2024
2.15.7 106 8/30/2024
2.15.6 246 8/30/2024
2.15.5 232 8/30/2024
2.15.4 236 8/30/2024
2.15.3 216 8/30/2024
2.15.2 243 8/30/2024
2.15.0 214 8/30/2024
2.14.0 171 8/17/2024
2.13.0 136 8/15/2024
2.12.0 223 7/30/2024
2.11.0 796 4/4/2024
2.10.0 1,350 9/11/2023
2.9.2308.2008 387 8/20/2023
2.8.23.814 233 8/14/2023
2.7.2 186 7/21/2023
2.7.1 157 7/20/2023
2.6.3 373 5/22/2023
2.6.2 243 5/16/2023
2.6.1 150 5/15/2023
2.5.1 174 4/28/2023
2.4.2 169 4/23/2023
2.4.1 358 2/8/2023
2.3.2 1,728 2/2/2023

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