JCoder 2.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package JCoder --version 2.5.1                
NuGet\Install-Package JCoder -Version 2.5.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.5.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JCoder --version 2.5.1                
#r "nuget: JCoder, 2.5.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.5.1

// Install JCoder as a Cake Tool
#tool nuget:?package=JCoder&version=2.5.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.Db4Net 一款为方便使用数据库的操作类库。
JCoder.Db4Net.ORM 一个基于JCoder.Db4Net的ORM库。
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#的扩展库。)
JCoder The base library of JCoder Serial. This library focus on C# extension.(JCoder库系列的基础库,聚焦于c#的扩展。)

1.3 重要更新

版本 说明
2.0 将JCoder.Extension迁移并集成到JCoder库里。

获取方式

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

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.19.1 424 10/29/2024
2.18.1 297 9/17/2024
2.17.2 105 9/17/2024
2.17.1 86 9/8/2024
2.16.3 270 9/7/2024
2.16.2 102 9/7/2024
2.16.1 103 9/7/2024
2.15.7 96 8/30/2024
2.15.6 236 8/30/2024
2.15.5 220 8/30/2024
2.15.4 225 8/30/2024
2.15.3 207 8/30/2024
2.15.2 233 8/30/2024
2.15.0 205 8/30/2024
2.14.0 159 8/17/2024
2.13.0 125 8/15/2024
2.12.0 212 7/30/2024
2.11.0 787 4/4/2024
2.10.0 1,342 9/11/2023
2.9.2308.2008 379 8/20/2023
2.8.23.814 226 8/14/2023
2.7.2 177 7/21/2023
2.7.1 149 7/20/2023
2.6.3 365 5/22/2023
2.6.2 236 5/16/2023
2.6.1 143 5/15/2023
2.5.1 167 4/28/2023
2.4.2 162 4/23/2023
2.4.1 351 2/8/2023
2.3.2 1,721 2/2/2023

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