NXDO.Data.Reflection 4.4.689

dotnet add package NXDO.Data.Reflection --version 4.4.689                
NuGet\Install-Package NXDO.Data.Reflection -Version 4.4.689                
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.4.689" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NXDO.Data.Reflection --version 4.4.689                
#r "nuget: NXDO.Data.Reflection, 4.4.689"                
#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.4.689

// Install NXDO.Data.Reflection as a Cake Tool
#tool nuget:?package=NXDO.Data.Reflection&version=4.4.689                

简述

高效反射器

示例

简单示例

    //有一个类,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 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.  net9.0 is compatible. 
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.
  • net9.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 149 11/16/2024
4.3.68.4 243 11/1/2024
4.3.68.3 232 1/18/2024
4.3.68.2 159 1/7/2024
4.2.6080.2 280 12/21/2023
4.2.6080.1 179 12/19/2023

代码层:兼容(命名)程序集的装载