extension.fishlee.net
1.6.6
Install-Package extension.fishlee.net -Version 1.6.6
dotnet add package extension.fishlee.net --version 1.6.6
<PackageReference Include="extension.fishlee.net" Version="1.6.6" />
paket add extension.fishlee.net --version 1.6.6
#r "nuget: extension.fishlee.net, 1.6.6"
// Install extension.fishlee.net as a Cake Addin
#addin nuget:?package=extension.fishlee.net&version=1.6.6
// Install extension.fishlee.net as a Cake Tool
#tool nuget:?package=extension.fishlee.net&version=1.6.6
FSLib.Extension
介绍
FSLib.Extension库是一个用于.NET的扩展函数库,所提供的函数和方法均使用扩展方法引入,包含数以百计的用于日常编写程序时使用的扩展方法。 用法非常简单,依据你的需要引用net35(.net 3.5/3.0)或net4(.net 4.0/4.5)下的dll文件即可。
一般情况下不需要特殊的using即可在代码中使用。
附带的扩展方法的命名空间一般和扩展的对象在同一个命名空间。
安装
你有三种方式可以使用本库:
- 直接使用包管理器(Nuget Package Manager)安装(推荐)
- 直接下载已编译的二进制包,并根据需要引用
- 使用源码自行编译
1.直接使用包管理器(Nuget Package Manager)安装
在Visual Studio中,打开Nuget包管理器,进入联机选项,搜索 iFish,找到“iFish’s Extension Methods Library”后,安装即可。
2.直接下载已编译二进制包
在FishExtension主页上下载压缩包,解压后可见内有针对不同版本framework的dll文件,引用即可。
3.使用源码自行编译
在GitHub的源码主页上,直接下载或克隆后,在Visual Studio中编译再引用,或直接作为项目引用即可。
现在的源码已部分应用C#6语法特性,因此需要VisualStudio2015才能安全顺利地编译。 由于本库是一个历史沿用时间很久的库,因此比较杂乱,欢迎Fork并修正后Pull Request。
自 v1.4 开始,项目已经启用 .NET CORE 的项目格式(project.json),如果您想成功编译所有的源码,可能需要至少 Visual Studio 2015。
4.源码&文档
本扩展库源码已托管在GITHUB上。GITHUB仓库主页: https://github.com/iccfish/FSLib.Extension ,欢迎提交更好的扩展方法。
本扩展方法库API文档参见 http://docs.fishlee.net/ifish/fslib.extension
5.相关网址
- 作者:木鱼(iFish)
- 主页:https://www.fishlee.net/soft/fishextension.net/
- 博客:https://blog.fishlee.net
- 微博:https://weibo.com/imcfish
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.6.1 netstandard2.0 netstandard2.1 |
.NET Framework | net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- Microsoft.Bcl (>= 1.1.10)
- Microsoft.Bcl.Async (>= 1.0.168)
- Microsoft.Bcl.Build (>= 1.0.21)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.5
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.6
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.7
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 1.6.1
- NETStandard.Library (>= 1.6.1)
- System.ComponentModel (>= 4.3.0)
- System.ComponentModel.Primitives (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Diagnostics.FileVersionInfo (>= 4.3.0)
- System.Diagnostics.Process (>= 4.3.0)
- System.Threading.Tasks.Parallel (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
- System.Threading.ThreadPool (>= 4.3.0)
- System.ValueTuple (>= 4.5.0)
- System.Xml.XmlDocument (>= 4.3.0)
- System.Xml.XmlSerializer (>= 4.3.0)
-
.NETStandard 2.0
- System.ComponentModel (>= 4.3.0)
- System.ComponentModel.Primitives (>= 4.3.0)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Diagnostics.FileVersionInfo (>= 4.3.0)
- System.Diagnostics.Process (>= 4.3.0)
- System.Threading.Tasks.Parallel (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
- System.Threading.ThreadPool (>= 4.3.0)
- System.ValueTuple (>= 4.5.0)
- System.Xml.XmlSerializer (>= 4.3.0)
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on extension.fishlee.net:
Package | Downloads |
---|---|
network.fishlee.net
A strong http client for .NET with high usability |
|
network.fishlee.net_html.adapter
HtmlAgality Adapter for iFish's Network Library (HTTP) |
GitHub repositories (5)
Showing the top 5 popular GitHub repositories that depend on extension.fishlee.net:
Repository | Stars |
---|---|
iccfish/FSLib.App.SimpleUpdater
A simple automatic update library for .net. 一个炒鸡简单但是足够好用的自动更新库。
|
|
iccfish/BtResourceGrabber
一个开源的BT综合搜索引擎
|
|
EraserKing/Unblock163MusicClient
Unblock 163 Cloud Music Windows client.
|
|
iccfish/Cn12306UnofficalClient
12306非官方客户端
|
|
iccfish/fslib.network
A strong http client for .NET with high usability
|
Version | Downloads | Last updated |
---|---|---|
1.6.6 | 163 | 1/26/2022 |
1.6.3 | 1,256 | 6/19/2019 |
1.6.2 | 364 | 6/13/2019 |
1.5.1 | 998 | 12/19/2018 |
1.5.0 | 484 | 12/18/2018 |
1.4.5 | 1,375 | 3/21/2018 |
1.4.4 | 768 | 3/21/2018 |
1.4.3 | 1,832 | 9/1/2016 |
1.4.2 | 1,975 | 8/15/2016 |
1.4.1 | 979 | 8/14/2016 |
1.4.0 | 975 | 8/14/2016 |
1.3.1 | 1,802 | 12/13/2015 |
1.3.0 | 1,818 | 8/13/2015 |
1.2.2 | 1,473 | 5/13/2015 |
1.2.0 | 2,198 | 1/18/2015 |
1.1.1.1 | 926 | 1/6/2015 |
1.1.1 | 1,252 | 1/6/2015 |
1.1.0 | 1,274 | 1/6/2015 |
修正了部分函数;针对NET FULL增加了部分Drawing命名空间的函数;移动 System.FishLib 命名空间到 FSLib.Extension.FishLib;修正包重定向。