Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport 1.0.2-Preview00001

This is a prerelease version of Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport.
dotnet add package Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport --version 1.0.2-Preview00001
                    
NuGet\Install-Package Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport -Version 1.0.2-Preview00001
                    
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="Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport" Version="1.0.2-Preview00001" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport" Version="1.0.2-Preview00001" />
                    
Directory.Packages.props
<PackageReference Include="Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport" />
                    
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 Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport --version 1.0.2-Preview00001
                    
#r "nuget: Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport, 1.0.2-Preview00001"
                    
#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 Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport@1.0.2-Preview00001
                    
#: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=Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport&version=1.0.2-Preview00001&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport&version=1.0.2-Preview00001&prerelease
                    
Install as a Cake Tool

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.

NuGet Basilisque.DependencyInjection.CodeAnalysis.ExtensionSupport License

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.

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.

Version Downloads Last Updated
1.0.2-Preview00001 32 5/21/2026