TypeNameFormatter.Sources 1.0.0-alpha

TypeNameFormatter provides some extension methods that can be used instead of Type.ToString() to format a type's name the way it would look in C#:

* StringBuilder.AppendFormattedName(Type, [TypeNameFormatOptions])
* Type.GetFormattedName([TypeNameFormatOptions])

See the README at the project's GitHub repository for usage instructions.

This package is a source code distribution of this library. It gets embedded into the referencing project and thus does not introduce an additional package reference for downstream consumers.

This is a prerelease version of TypeNameFormatter.Sources.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8 or higher.

Install-Package TypeNameFormatter.Sources -Version 1.0.0-alpha
dotnet add package TypeNameFormatter.Sources --version 1.0.0-alpha
<PackageReference Include="TypeNameFormatter.Sources" Version="1.0.0-alpha">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TypeNameFormatter.Sources --version 1.0.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TypeNameFormatter.Sources, 1.0.0-alpha"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TypeNameFormatter.Sources as a Cake Addin
#addin nuget:?package=TypeNameFormatter.Sources&version=1.0.0-alpha&prerelease

// Install TypeNameFormatter.Sources as a Cake Tool
#tool nuget:?package=TypeNameFormatter.Sources&version=1.0.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on TypeNameFormatter.Sources:

Repository Stars
moq/moq4
Repo for managing Moq 4.x
moq/moq
The most popular and friendly mocking framework for .NET

Version History

Version Downloads Last updated
1.1.1 3,638 1/16/2021
1.1.0 154 11/12/2020
1.0.1 3,804 12/30/2018
1.0.0 3,639 7/11/2018
1.0.0-beta3 468 6/7/2018
1.0.0-beta 499 5/24/2018
1.0.0-alpha 580 5/24/2018
Show less