ConduitR.Visualizer.Analyzers 1.0.5

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package ConduitR.Visualizer.Analyzers --version 1.0.5
                    
NuGet\Install-Package ConduitR.Visualizer.Analyzers -Version 1.0.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="ConduitR.Visualizer.Analyzers" Version="1.0.5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ConduitR.Visualizer.Analyzers" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="ConduitR.Visualizer.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 ConduitR.Visualizer.Analyzers --version 1.0.5
                    
#r "nuget: ConduitR.Visualizer.Analyzers, 1.0.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 ConduitR.Visualizer.Analyzers@1.0.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=ConduitR.Visualizer.Analyzers&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=ConduitR.Visualizer.Analyzers&version=1.0.5
                    
Install as a Cake Tool

ConduitR.Visualizer.Analyzers

Visual Studio and Roslyn design-time hints for ConduitR mediator calls.

ConduitR.Visualizer.Analyzers helps answer the question every mediator user eventually asks: "I see mediator.Send(...), but where is the handler?"

Install

dotnet add package ConduitR.Visualizer.Analyzers --version 1.0.5

For prerelease builds:

dotnet add package ConduitR.Visualizer.Analyzers --prerelease

Recommended project reference:

<PackageReference Include="ConduitR.Visualizer.Analyzers" Version="1.0.5" PrivateAssets="all" />

PrivateAssets="all" keeps the analyzer as a development-time dependency. It does not flow transitively to consumers of your library.

Visual Studio Experience

When the cursor is on a ConduitR call, Visual Studio shows the resolved handler as an informational diagnostic.

ConduitR Send handler hint

Streaming calls are supported too:

ConduitR CreateStream handler hint

The analyzer also registers a lightbulb action:

Go to ConduitR handler 'GetTimeHandler'

Use Show potential fixes or Ctrl+. from the ConduitR info message to navigate to the handler document.

Supported Calls

  • mediator.Send(new SomeRequest(...))
  • mediator.CreateStream(new SomeStreamRequest(...))

The analyzer resolves:

  • request type
  • stream request type
  • handler class
  • handler source file and line

Diagnostic

ID Severity Meaning
CDRVS001 Info A ConduitR request or stream request handler was resolved

Example message:

CDRVS001: ConduitR request 'GetTimeQuery' is handled by 'GetTimeHandler' at Program.cs:57

Why It Is An Analyzer Package

This package does not require a Visual Studio extension. It uses standard Roslyn analyzer and code-fix APIs, so adding the NuGet package is enough for supported IDE hosts to load it.

  • ConduitR.Visualizer.Cli: generates Markdown, JSON, and Mermaid architecture reports
  • ConduitR.Visualizer.Core: shared static-analysis and report model
  • ConduitR: core mediator runtime

More Documentation

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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.

Version Downloads Last Updated
1.0.6-pre.20260430T2242... 66 4/30/2026
1.0.6-pre.20260430T1645... 65 4/30/2026
1.0.5 130 4/30/2026
1.0.5-pre.20260430T0123... 56 4/30/2026

ConduitR Visualizer Analyzers adds Info diagnostics for Send/CreateStream handler discovery and a lightbulb action to navigate to the resolved handler.