EasilyNET.Core.SourceGenerator
3.24.801.162
Additional Details
存在一些问题,暂时不要使用.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package EasilyNET.Core.SourceGenerator --version 3.24.801.162
NuGet\Install-Package EasilyNET.Core.SourceGenerator -Version 3.24.801.162
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="EasilyNET.Core.SourceGenerator" Version="3.24.801.162" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EasilyNET.Core.SourceGenerator" Version="3.24.801.162" />
<PackageReference Include="EasilyNET.Core.SourceGenerator" />
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 EasilyNET.Core.SourceGenerator --version 3.24.801.162
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasilyNET.Core.SourceGenerator, 3.24.801.162"
#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 EasilyNET.Core.SourceGenerator@3.24.801.162
#: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=EasilyNET.Core.SourceGenerator&version=3.24.801.162
#tool nuget:?package=EasilyNET.Core.SourceGenerator&version=3.24.801.162
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
用于 EasilyNET 的 SourceGenerator
**注意:**由于源码生成器的特征,需要使用源码生成器的项目需要显示引入该库,间接引入将无法正常工作,并且需要显示标记为OutputItemType="Analyzer"
<PackageReference Include="EasilyNET.Core.SourceGenerator" Version="1.0.0" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="all" />
- 用于枚举类型的源代码生成器,
EnumDescriptionGenerator用于生成枚举类型的描述信息
public enum EnumType
{
[Description("枚举项描述")]
EnumItem
}
// 生成后,使用
EnumType.EnumItem.ToDescription(); // 枚举项描述
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.11.0-3.final)
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 |
|---|