RSCG_NameGenerator 2024.26.8.2002

dotnet add package RSCG_NameGenerator --version 2024.26.8.2002
                    
NuGet\Install-Package RSCG_NameGenerator -Version 2024.26.8.2002
                    
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.26.8.2002" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RSCG_NameGenerator" Version="2024.26.8.2002" />
                    
Directory.Packages.props
<PackageReference Include="RSCG_NameGenerator" />
                    
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 RSCG_NameGenerator --version 2024.26.8.2002
                    
#r "nuget: RSCG_NameGenerator, 2024.26.8.2002"
                    
#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.
#addin nuget:?package=RSCG_NameGenerator&version=2024.26.8.2002
                    
Install RSCG_NameGenerator as a Cake Addin
#tool nuget:?package=RSCG_NameGenerator&version=2024.26.8.2002
                    
Install RSCG_NameGenerator as a Cake Tool

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 (5)

Showing the top 5 NuGet packages that depend on RSCG_NameGenerator:

Package Downloads
RSCG_Demeter

Measuring Dots ( think Demeter Law)

rscg_Interface_to_null_object

Interface to null object - common

rscg_queryables

Intercept method

RSCG_CompositeProvider

Interface to null object - common

RSCG_OpenApi2MCP

Generating MCP tools from swagger at runtime.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.26.8.2002 352 8/26/2024
2024.26.8.1802 114 8/26/2024
2024.11.11.1830 845 11/11/2024