OSharp.Plugin.Core 10.1.6

dotnet add package OSharp.Plugin.Core --version 10.1.6
                    
NuGet\Install-Package OSharp.Plugin.Core -Version 10.1.6
                    
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.1.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OSharp.Plugin.Core" Version="10.1.6" />
                    
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.1.6
                    
#r "nuget: OSharp.Plugin.Core, 10.1.6"
                    
#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.1.6
                    
#: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.1.6
                    
Install as a Cake Addin
#tool nuget:?package=OSharp.Plugin.Core&version=10.1.6
                    
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.Admin

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

OSharp.Plugin.MobileApp

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.1.6 49 10/9/2026
10.1.5 132 9/21/2026
10.1.4 114 9/21/2026
10.1.3 157 9/17/2026
10.1.2 131 9/16/2026
10.1.0 243 6/18/2026
10.0.8 182 5/16/2026
10.0.6 167 3/26/2026
10.0.5 170 3/9/2026
10.0.4 201 1/31/2026
10.0.3 219 1/23/2026
10.0.2 186 1/23/2026
10.0.1 205 1/23/2026
10.0.0 192 1/21/2026
8.2.1 549 12/9/2025
8.2.0 337 12/4/2025
8.1.9 528 11/20/2025
8.1.8 312 10/31/2025
8.1.7 321 10/27/2025
8.1.6 323 9/30/2025
Loading failed