Skip to content

HubRegistrationPluginConstructorAnalyzer

NexusLabs.Needlr.SignalR.Analyzers

HubRegistrationPluginConstructorAnalyzer Class

Analyzer that flags an IHubRegistrationPlugin implementation that is eligible for Needlr's generated-constructor generation. The SignalR hub-registration generator requires parameterless activation and deliberately excludes such a type from registration, so a plugin shaped this way is silently never registered unless flagged here.

public sealed class HubRegistrationPluginConstructorAnalyzer

Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 HubRegistrationPluginConstructorAnalyzer