RSCG_NameGenerator 2024.11.11.1830

There is a newer version of this package available.
See the version list below for details.
dotnet add package RSCG_NameGenerator --version 2024.11.11.1830                
NuGet\Install-Package RSCG_NameGenerator -Version 2024.11.11.1830                
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="RSCG_NameGenerator" Version="2024.11.11.1830" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RSCG_NameGenerator --version 2024.11.11.1830                
#r "nuget: RSCG_NameGenerator, 2024.11.11.1830"                
#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.
// Install RSCG_NameGenerator as a Cake Addin
#addin nuget:?package=RSCG_NameGenerator&version=2024.11.11.1830

// Install RSCG_NameGenerator as a Cake Tool
#tool nuget:?package=RSCG_NameGenerator&version=2024.11.11.1830                

NameGenerator

Generator of names for an assembly / product release . Generates names for {adjective}-{name} or {adjective-name-city}

The fact that is a Roslyn Code Generator ensures that you can use it in your projects without any additional dependencies - and get rid of him !

Usage

Add to the .csproj file:

  <ItemGroup>
	  <PackageReference Include="RSCG_NameGenerator" Version="2024.26.8.2002" >
		  <OutputItemType>Analyzer</OutputItemType>
		  <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
	  </PackageReference>
  </ItemGroup>
  
  <PropertyGroup>
	<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
	<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath>
</PropertyGroup>

Then, in the code, you can use the following code:

using Generated.TestNameGenerator;
//by just putting here
//you will not deploy the dll when you deploy the project
//name are generated in the code source
Console.WriteLine($"Name:{TheAssemblyInfo.GeneratedName}");
Console.WriteLine($"Nice:{TheAssemblyInfo.GeneratedNameNice}");
Console.WriteLine($"Small:{TheAssemblyInfo.GeneratedNameSmall}");

More examples

Please see https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG for a list of examples of Roslyn Source Code Generators

Enjoy!

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RSCG_NameGenerator:

Package Downloads
rscg_queryables

Intercept method

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.26.8.2002 305 8/26/2024
2024.26.8.1802 107 8/26/2024
2024.11.11.1830 137 11/11/2024