Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport
1.0.2-Preview00001
dotnet add package Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport --version 1.0.2-Preview00001
NuGet\Install-Package Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport -Version 1.0.2-Preview00001
<PackageReference Include="Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport" Version="1.0.2-Preview00001" />
<PackageVersion Include="Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport" Version="1.0.2-Preview00001" />
<PackageReference Include="Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport" />
paket add Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport --version 1.0.2-Preview00001
#r "nuget: Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport, 1.0.2-Preview00001"
#:package Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport@1.0.2-Preview00001
#addin nuget:?package=Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport&version=1.0.2-Preview00001&prerelease
#tool nuget:?package=Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport&version=1.0.2-Preview00001&prerelease
Basilisque - Dependency Injection CodeAnalysis Extension Support
Overview
This project provides helper classes and utilities for code analyzers that want to provide extensions to the Basilisque Dependency Injection Code Analysis project.
Description
The Basilisque Dependency Injection project provides functionality to easily register all services of the target project at the IServiceCollection including a source generator.
This project contains helper classes and utilities for code analyzers that want to provide extensions to this source generator.
Since source generators do not see code generated by other source generators, the Basilisque Dependency Injection Code Analysis project cannot generate registration code for services defined by other analyzers.
To cope with this, the Basilisque Dependency Injection Code Analysis project provides an extension mechanism that allows other analyzers to generate additional code for services defined by them. This project provides helper classes and utilities to make it easier for other analyzers to implement such extensions.
For details about Basilisque Dependency Injection see Basilisque.DependencyInjection.
Usage
Install the NuGet package NuGet Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport in your code analysis project.
This will automatically configure the extension support library to be packed alongside your analyzer in the resulting NuGet package.
The extension support library will then be available to your analyzer at runtime and you can use it to implement extensions for the Basilisque Dependency Injection Code Analysis project.
For your information: The name of the extension support library includes its version number to prevent issues with multiple analyzers referencing different versions of the extension support library.
License
The Basilisque framework (including this repository) is licensed under the Apache License, Version 2.0.
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.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.2-Preview00001 | 32 | 5/21/2026 |