![]() |
VOOZH | about |
dotnet add package NetPro.TypeFinder --version 6.0.16
NuGet\Install-Package NetPro.TypeFinder -Version 6.0.16
<PackageReference Include="NetPro.TypeFinder" Version="6.0.16" />
<PackageVersion Include="NetPro.TypeFinder" Version="6.0.16" />Directory.Packages.props
<PackageReference Include="NetPro.TypeFinder" />Project file
paket add NetPro.TypeFinder --version 6.0.16
#r "nuget: NetPro.TypeFinder, 6.0.16"
#:package NetPro.TypeFinder@6.0.16
#addin nuget:?package=NetPro.TypeFinder&version=6.0.16Install as a Cake Addin
#tool nuget:?package=NetPro.TypeFinder&version=6.0.16Install as a Cake Tool
👁 NuGet
目录、文件、程序集、类型的处理
public void ConfigureServices(IServiceCollection services, IConfiguration configuration = null){
services.AddFileProcessService(new TypeFinderOption{MountePath="./Plugin"});
}
建议从appsetting取配置,如下
"TypeFinderOption": {
"MountePath": "./Plugin" //windows默认目录: C:/opt/netpro ; linux环境:/opt/netpro
"CustomDllPattern":"^XXX.*"//自定义的程序dll正则表达式,此处表示XXX开头的程序集
}
public class DemoController : ControllerBase{
private readonly INetProFileProvider _netProFileProvider;
private readonly ITypeFinder _typeFinder;
public DemoController(INetProFileProvider netProFileProvider,ITypeFinder typeFinder)
{
_netProFileProvider=_netProFileProvider;
_typeFinder=typeFinder;
}
public void Method1(){
_netProFileProvider.CreateFile("");//创建文件
typeFinder.GetAssemblies();//获取所有程序集
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 netcoreapp3.1 is compatible. |
Showing the top 3 NuGet packages that depend on NetPro.TypeFinder:
| Package | Downloads |
|---|---|
|
NetPro.Startup
Package Description |
|
|
NetPro.Core
Package Description |
|
|
NetPro.Proxy
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.16 | 2,121 | 7/24/2023 |
| 6.0.15 | 7,326 | 7/19/2022 |
| 6.0.14 | 6,353 | 7/10/2022 |
| 6.0.13 | 6,467 | 6/15/2022 |
| 6.0.12 | 6,409 | 6/15/2022 |
| 6.0.11 | 6,283 | 6/15/2022 |
| 6.0.10 | 6,260 | 6/11/2022 |
| 6.0.9 | 6,432 | 6/8/2022 |
| 6.0.8 | 6,174 | 5/26/2022 |
| 6.0.8-beta.3 | 1,145 | 5/24/2022 |
| 6.0.8-beta.2 | 279 | 5/24/2022 |
| 6.0.7 | 6,095 | 5/18/2022 |
| 6.0.6 | 5,957 | 4/28/2022 |
| 6.0.5-beta.20 | 276 | 4/27/2022 |
| 6.0.5-beta.19 | 276 | 4/25/2022 |
| 6.0.5-beta.18 | 296 | 4/22/2022 |
| 6.0.5-beta.17 | 304 | 4/16/2022 |
| 6.0.5-beta.16 | 1,242 | 4/8/2022 |
| 6.0.5-beta.15 | 270 | 4/8/2022 |
| 6.0.5-beta.14 | 291 | 4/7/2022 |