SmartIT.DebugTraceHelper 5.0.0

.NET Core 2.0
There is a newer version of this package available.
See the version list below for details.
Install-Package SmartIT.DebugTraceHelper -Version 5.0.0
dotnet add package SmartIT.DebugTraceHelper --version 5.0.0
<PackageReference Include="SmartIT.DebugTraceHelper" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartIT.DebugTraceHelper --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SmartIT.DebugTraceHelper, 5.0.0"
#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 SmartIT.DebugTraceHelper as a Cake Addin
#addin nuget:?package=SmartIT.DebugTraceHelper&version=5.0.0

// Install SmartIT.DebugTraceHelper as a Cake Tool
#tool nuget:?package=SmartIT.DebugTraceHelper&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Updated to .NET Core 5.0

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
5.0.5 375 12/31/2020
5.0.2 272 12/31/2020
5.0.1 159 12/31/2020
5.0.0 152 12/31/2020
1.0.5 536 3/13/2020
1.0.4 315 3/3/2020
1.0.3 2,413 9/17/2017

//Usage ------------------------------------
     class Program
 {
   static void Main(string[] args)
   {
     //args.DDump("args");

     List<Employee> employees = new List<Employee>();
     employees.Add(new Employee() { Id = 1, Name = "Jen" });
     employees.Add(new Employee() { Id = 2, Name = "Mike" });
     // Prints out json representation of the object in Debug Output window
     // Writes to Debug Output Window
     employees.DDump("Employee");
     
     // Prints out json representation of the object in Console window
     // Writes to Console Output Window
     employees.CDump("Employee");
     
     Debug.WriteLine("Using DDump.ConvertToJson(employees)");
     // Converts Object properties to json string format
     Debug.WriteLine(DebugDump.ConvertToJson(employees));
     
     // Output as JSON string format
     // -----------Employee----------
     // [{"Id":1,"Name":"Jen"},{"Id":2,"Name":"Mike"}]
   }
 }

 public class Employee
 {
   public int Id { get; set; }
   public string Name { get; set; }
 }
}