NXDO.Data.Reflection
4.2.6080.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package NXDO.Data.Reflection --version 4.2.6080.1
NuGet\Install-Package NXDO.Data.Reflection -Version 4.2.6080.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="NXDO.Data.Reflection" Version="4.2.6080.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NXDO.Data.Reflection --version 4.2.6080.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NXDO.Data.Reflection, 4.2.6080.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 NXDO.Data.Reflection as a Cake Addin #addin nuget:?package=NXDO.Data.Reflection&version=4.2.6080.1 // Install NXDO.Data.Reflection as a Cake Tool #tool nuget:?package=NXDO.Data.Reflection&version=4.2.6080.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
简述
高效反射器
示例
简单示例
//有一个类,A.ATest 在Test.dll, A为命名空间,ATest为类名,在Test.dll中
var typeName = "A.ATest,Test"; //可以指定版本
var type = NXDO.Data.Reflection.AssemblyHelper.GetType(typeName);
var obj = Activator.CreateInstance(type);
//using NXDO.Data.Extension; //扩展方法
//NXDO.Data.Extension.TypeHelperExtensions //查看其他支持的操作方法
ITypeHelper th = type.GetTypeHelper(); //扩展方法
th.其他方法...
type.CreateInstanceEx(); //扩展方法
...
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on NXDO.Data.Reflection:
Package | Downloads |
---|---|
NXDO.WebAPI.ZhuBird
朱雀,亦称朱鸟,形体似凤凰,古代神话中的南方之神。Rosefinch, also known as "Zhu bird" physical may Phoenix, the ancient Chinese myth of the God of the South. |
|
NXDO.Data
AnyDB Lazy<Model> & Linq |
|
NXDO.WebAPI
NCore WebHost MicroServices & WebApi & WebVUE |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.4.689 | 147 | 11/16/2024 |
4.3.68.4 | 241 | 11/1/2024 |
4.3.68.3 | 230 | 1/18/2024 |
4.3.68.2 | 157 | 1/7/2024 |
4.2.6080.2 | 278 | 12/21/2023 |
4.2.6080.1 | 177 | 12/19/2023 |
调整外部程序集对于Web中控制器的优化调用(独立发布调整)