SmartIT.DebugHelper.Core 5.0.0

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

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

Debug helper logging utility

  • net5.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
5.0.0 164 12/31/2020

//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; }
 }
}