VeloxDev.Core
4.2.0
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.0
This package targets .NET Core 3.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.6.1
This package targets .NET Framework 4.6.1. The package is compatible with this framework or higher.
dotnet add package VeloxDev.Core --version 4.2.0
NuGet\Install-Package VeloxDev.Core -Version 4.2.0
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="VeloxDev.Core" Version="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VeloxDev.Core" Version="4.2.0" />
<PackageReference Include="VeloxDev.Core" />
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 VeloxDev.Core --version 4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VeloxDev.Core, 4.2.0"
#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 VeloxDev.Core@4.2.0
#: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=VeloxDev.Core&version=4.2.0
#tool nuget:?package=VeloxDev.Core&version=4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
VeloxDev
VeloxDev 是 VeloxDev 的基础包,负责提供整个框架共享的抽象、生成能力与可复用基础设施。
它主要面向两类场景:
- 你希望直接使用 VeloxDev 中与平台无关的能力
- 你希望基于核心抽象实现自己的平台适配层或扩展模块
包含的能力
MVVM:基于特性的通知属性与命令生成Workflow:工作流树、节点、插槽、连线及其辅助模板AI Workflow Context:面向 Agent 的工作流语义上下文收集、类型注册与文档生成TransitionSystem:动画状态、属性路径、插值器、调度与播放抽象DynamicTheme:主题注册、缓存、切换与渐变切换抽象MonoBehaviour:按帧驱动的生命周期模型AOT Reflection:面向 AOT / 裁剪场景的反射保留支持AOP:支持目标框架下的切面代理基础能力
什么时候只安装 VeloxDev
适合以下情况:
- 你只需要
MVVM、Workflow、MonoBehaviour、AOT Reflection等平台无关能力 - 你希望理解并直接构建在核心抽象之上
- 你打算自行实现 UI 平台适配层
什么时候还需要适配层包
如果你要直接使用下列能力的完整运行时效果,通常还需要对应平台适配层:
TransitionSystem- 带动画的主题切换
- 与具体 UI 平台相关的视图交互能力
对应适配包包括:
VeloxDev.WPFVeloxDev.AvaloniaVeloxDev.WinUIVeloxDev.MAUIVeloxDev.WinForms
仓库与示例
- GitHub: https://github.com/Axvser/VeloxDev
- Wiki: https://axvser.github.io/VeloxDev.Wiki/
- Examples: 请参考仓库中的
Examples目录
Workflow Agent Context
VeloxDev.Core 现已提供工作流框架层的 Agent 语义上下文能力,职责是以尽量稳定、低歧义的方式描述框架本身和用户注册组件,而不是直接承担运行时接管协议。
核心入口位于:
VeloxDev.AI.Workflow.WorkflowAgentContextRegistryVeloxDev.AI.Workflow.WorkflowAgentContextProviderVeloxDev.AI.Workflow.WorkflowAgentToolProvider
典型用法:
using VeloxDev.AI.Workflow;
typeof(TreeViewModel).RegisterWorkflowAgentContext();
typeof(NodeViewModel).RegisterWorkflowAgentContext();
var document = WorkflowAgentContextProvider.ProvideWorkflowAgentContextDocument(AgentLanguages.English);
var nodeContext = typeof(NodeViewModel).ProvideClassAgentContext(AgentLanguages.Chinese);
IEnumerable<Delegate> tools = WorkflowAgentToolProvider.ProvideWorkflowAgentTools();
当前核心库提供:
- 工作流接口、模板组件、枚举、值类型的统一上下文文档
- 用户注册组件按
Tree / Node / Slot / Link分区的上下文表 - 面向 Agent 的按章节读取和按类型读取入口
- 英文标题结构 + 多语言
AgentContext语义内容
如果需要统一的新运行时接管协议、低 Token 增量同步、Patch 批处理、能力枚举、反射属性/命令/方法接管与 dry-run 校验,请安装 VeloxDev.Core.Extension。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.0
- VeloxDev.Core.Generator (>= 4.2.0)
-
.NETFramework 4.6.1
- VeloxDev.Core.Generator (>= 4.2.0)
-
.NETStandard 2.0
- VeloxDev.Core.Generator (>= 4.2.0)
-
net5.0
- VeloxDev.Core.Generator (>= 4.2.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on VeloxDev.Core:
| Package | Downloads |
|---|---|
|
VeloxDev.WPF
VeloxDev.Core + WPF |
|
|
VeloxDev.Avalonia
VeloxDev.Core + Avalonia |
|
|
VeloxDev.MAUI
VeloxDev.Core + MAUI |
|
|
VeloxDev.WinUI
VeloxDev.Core + WinUI |
|
|
VeloxDev.WinForms
VeloxDev.Core + WinForms |
GitHub repositories
This package is not used by any popular GitHub repositories.