Colorizer 1.0.0

dotnet add package Colorizer --version 1.0.0                
NuGet\Install-Package Colorizer -Version 1.0.0                
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="Colorizer" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Colorizer --version 1.0.0                
#r "nuget: Colorizer, 1.0.0"                
#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 Colorizer as a Cake Addin
#addin nuget:?package=Colorizer&version=1.0.0

// Install Colorizer as a Cake Tool
#tool nuget:?package=Colorizer&version=1.0.0                

Colorizer

Colorize your Console output with this simple to use and extensible library

Quick Start Example

using Colorizer;

// string format pattern string
string dream = "a dream of {0} and {1} and {2} and {3} and {4} and {5} and {6} and {7} and {8} and {9}...";

// parameters

string[] fruits = new string[]
{
    "bananas",
    "strawberries",
    "mangoes",
    "pineapples",
    "cherries",
    "oranges",
    "apples",
    "peaches",
    "plums",
    "melons"
};

ConsoleColorizer.WriteLine(dream,ConsoleColor.Gray,ConsoleColor.Yellow, fruits);

Format With Parms Example:

using Colorizer;

// print with sequntial parameters
ConsoleColorizer.WriteLine("Hello,first {0} second {1} third {2} forth {3} fifth {4} sixth {5} seventh {6} eighth {7} nineth {8} tenth {9} rest {10} World!", ConsoleColor.White,
    new Parm { Value = "1", Color = ConsoleColor.Green },
    new Parm { Value = "2", Color = ConsoleColor.Yellow },
    new Parm { Value = "3", Color = ConsoleColor.Blue },
    new Parm { Value = "4", Color = ConsoleColor.Magenta },
    new Parm { Value = "5", Color = ConsoleColor.Cyan },
    new Parm { Value = "6", Color = ConsoleColor.Gray },
    new Parm { Value = "7", Color = ConsoleColor.Green },
    new Parm { Value = "8", Color = ConsoleColor.DarkYellow },
    new Parm { Value = "9", Color = ConsoleColor.White },
    new Parm { Value = "10", Color = ConsoleColor.Cyan },
    new Parm { Value = "11", Color = ConsoleColor.Green });

Parms Only Example:

using Colorizer;

var parms = new[]
{
            new Parm { Value = "bananas", Color = ConsoleColor.Green },
            new Parm { Value = "strawberries", Color = ConsoleColor.Yellow },
            new Parm { Value = "mangoes", Color = ConsoleColor.Blue },
            new Parm { Value = "pineapples", Color = ConsoleColor.Magenta },
            new Parm { Value = "cherries", Color = ConsoleColor.Cyan },
            new Parm { Value = "oranges", Color = ConsoleColor.Gray },
            new Parm { Value = "apples", Color = ConsoleColor.Green },
            new Parm { Value = "peaches", Color = ConsoleColor.DarkYellow },
            new Parm { Value = "plums", Color = ConsoleColor.White },
            new Parm { Value = "melons", Color = ConsoleColor.Cyan },
            new Parm { Value = "enjoy...", Color = ConsoleColor.Green }
};

ConsoleColorizer.WriteSpaceLine(parms);

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.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.0 191 6/24/2023