BFH.Hermetic.Logos.Fixes 0.3.5

Suggested Alternatives

BulletsForHumanity.Hermetic

Additional Details

The functionality of this package has been merged into BulletsForHumanity.Hermetic

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

BFH.Hermetic.Logos.Fixes

Early development. Hermetic is under active development and not yet at 1.0. APIs may change or break between releases. Until 1.0, breaking changes bump the minor version and non-breaking changes bump the patch version.

Roslyn code fix providers for the BFH.Hermetic.Logos analyzers (WORD series).

This package is embedded automatically into BFH.Hermetic — you do not need to install it directly. It is published as a standalone package for tooling scenarios where only the fix providers are needed without the full Hermetic contract surface.


What's Inside

Code fixers for every WORD analyzer diagnostic:

Fixer Fixes Action
CommandEventDeclarationFix WORD001–003 Add missing [RaisesEvent<T>] / [CanRaiseEvent<T>]; swap declaration kind
EventShapeFix WORD004–005 Convert event type to sealed record
EventHandlerContractFix WORD006–008 Add [Applies<T>] stub to aggregate; add [AppliedBy<T>] / [UpdatesQueryAggregate<T>] to event
BubblesToFix WORD009 Add missing [AppliedBy<T>] required by [BubblesTo<T>]
CommandShapeFix WORD010–012 Add nested Handler / Validator stub to command

All fixers support Fix All in Solution via a stable equivalence key — one action corrects every occurrence of the same pattern across the whole codebase.


Further Reading

  • BFH.Hermetic — install this instead; it bundles contracts, generators, analyzers, and these fixes in one package
  • Logos README — the analyzers these fixers complement
  • Hermetic README — overview, quick start, key concepts, philosophy
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.