Skip to content

API Specification Reference

This is the API specification document defining the public types, interfaces, and attributes of the Functorium framework. For design intent and hands-on guidance, see the Framework Guide. Use this document to verify “what exactly is provided.”

NuGet PackageNamespace RootRole
FunctoriumFunctorium.Domains.*, Functorium.Applications.*, Functorium.Abstractions.*Domain/Application core types
Functorium.AdaptersFunctorium.Adapters.*Infrastructure adapters, Pipeline, DI registration
Functorium.SourceGeneratorsFunctorium.SourceGenerators.*Compile-time code generators
Functorium.TestingFunctorium.Testing.*Test utilities, architecture rules
DocumentDescription
Entity and AggregateEntity<TId>, AggregateRoot<TId>, EntityId, mixin interfaces
Value ObjectValueObject, SimpleValueObject<T>, Union types, equality/comparison
Error SystemDomainErrorType, ApplicationErrorType, AdapterErrorType, factory API
DocumentDescription
Validation SystemTypedValidation, ContextualValidation, FluentValidation integration
Usecase CQRSFinResponse<T>, CQRS interfaces, LINQ extensions, caching/persistence contracts
Domain EventsDomainEvent, Publisher/Collector, Handler, Ctx Enricher
DocumentDescription
Port and AdapterIRepository, IQueryPort, Specification, DI registration, implementation base classes
Pipeline8 Pipeline behaviors, custom extensions, PipelineConfigurator, OpenTelemetry settings
DocumentDescription
ObservabilityField/Tag specification, Meter definitions, message templates, Pipeline ordering
Source Generators5 source generator specifications (EntityId, ObservablePort, CtxEnricher, UnionType)
Testing LibraryFinTFactory, Host Fixture, architecture rules, error assertions