OSharp.Plugin.Core 10.0.3

dotnet add package OSharp.Plugin.Core --version 10.0.3
                    
NuGet\Install-Package OSharp.Plugin.Core -Version 10.0.3
                    
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="OSharp.Plugin.Core" Version="10.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OSharp.Plugin.Core" Version="10.0.3" />
                    
Directory.Packages.props
<PackageReference Include="OSharp.Plugin.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OSharp.Plugin.Core --version 10.0.3
                    
#r "nuget: OSharp.Plugin.Core, 10.0.3"
                    
#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.
#:package OSharp.Plugin.Core@10.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OSharp.Plugin.Core&version=10.0.3
                    
Install as a Cake Addin
#tool nuget:?package=OSharp.Plugin.Core&version=10.0.3
                    
Install as a Cake Tool

OSharp.Plugin.Core

简洁的插件核心库,提供插件加载、注册与基础扩展点(示例库)。该包主要用于在 .NET 项目中集成插件机制与扩展点。

功能

  • 插件发现与加载
  • 插件生命周期管理
  • 基础扩展点接口与示例实现

安装

从 NuGet 安装(替换为实际包名):

# 使用 dotnet CLI
dotnet add package OSharp.Plugin.Core --version x.y.z

# 使用 NuGet 包管理器控制台
Install-Package OSharp.Plugin.Core -Version x.y.z

using OSharp.Plugin.Core;

// 根据库的实际 API 调整以下示例
var manager = new PluginManager(); // 示例构造
manager.LoadPlugins("Plugins");    // 从指定目录加载插件
manager.InitializeAll();
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on OSharp.Plugin.Core:

Package Downloads
OSharp.Plugin.MobileApp

OSharp小程序组件,封装着小程序所需功能

OSharp.Plugin.Admin

OSharp系统管理组件,封装着后台功能所需功能

OSharp.Plugin.Mall

OSharp 商城组件,封装着商城功能

OSharp.Plugin.Content

OSharp cms组件,封装着cms功能

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.3 51 1/23/2026
10.0.2 39 1/23/2026
10.0.1 44 1/23/2026
10.0.0 64 1/21/2026
9.0.0 216 8/9/2025
8.2.1 500 12/9/2025
8.2.0 279 12/4/2025
8.1.9 470 11/20/2025
8.1.8 255 10/31/2025
8.1.7 261 10/27/2025
8.1.6 269 9/30/2025
8.1.5 269 9/24/2025
8.1.4 372 9/18/2025
8.1.3 373 9/18/2025
8.1.2 379 9/18/2025
8.1.1 253 9/3/2025