Sigmus.Common 0.0.2

dotnet add package Sigmus.Common --version 0.0.2
                    
NuGet\Install-Package Sigmus.Common -Version 0.0.2
                    
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="Sigmus.Common" Version="0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sigmus.Common" Version="0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Sigmus.Common" />
                    
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 Sigmus.Common --version 0.0.2
                    
#r "nuget: Sigmus.Common, 0.0.2"
                    
#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 Sigmus.Common@0.0.2
                    
#: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=Sigmus.Common&version=0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Sigmus.Common&version=0.0.2
                    
Install as a Cake Tool

Sigmus.Common

通用基础设施模块,为 SigmusFrameworkV2 提供核心基础组件。

功能

  • 事件系统GameEventResourceEventTaskProgressEvent 等事件基类
  • 日志系统 — 静态 Log 入口,支持控制台彩色输出
  • 配置管理ConfigStore + YAML / 环境变量配置源
  • 服务容器Services 服务定位器,支持自动发现与生命周期管理
  • 任务基础定义TaskStage 枚举、TaskError

安装

dotnet add package Sigmus.Common

快速开始

// 服务注册
[SigmusService]
[Order(100)]
public class MyService : ISigmusService
{
    public void OnReady() { /* 所有服务就绪后调用 */ }
}

// 日志
Log.Info("Hello SigmusFrameworkV2");

// 配置
var value = ConfigStore.Instance.Get("my_key");

依赖

无外部项目依赖,仅依赖少量 NuGet 包(YamlDotNet、JsonPath.Net 等)。

许可证

MIT © Luufery

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 (5)

Showing the top 5 NuGet packages that depend on Sigmus.Common:

Package Downloads
Sigmus.Graph

SigmusGraph - 任务编排框架,基于 YAML 配置的图形化工作流引擎,支持状态机、条件路由、事件驱动

Sigmus.Database

SigmusDatabase 数据库模块 - 数据库抽象层和适配器

Sigmus.Http

SigmusHttp HTTP模块 - HTTP 客户端和服务端实现

Sigmus.Agent

SigmusAgent - AI Agent 工作流编排模块,基于 SigmusGraph 的 LLM 多步推理和 Agent 工作流

Sigmus.Subject

SigmusSubject - 上层集成模块,提供内置任务实现、Web API 集成和业务编排

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.2 172 4/8/2026
0.0.1 145 4/7/2026