SmartIT.DebugTraceHelper
5.0.2
See the version list below for details.
Install-Package SmartIT.DebugTraceHelper -Version 5.0.2
dotnet add package SmartIT.DebugTraceHelper --version 5.0.2
<PackageReference Include="SmartIT.DebugTraceHelper" Version="5.0.2" />
paket add SmartIT.DebugTraceHelper --version 5.0.2
#r "nuget: SmartIT.DebugTraceHelper, 5.0.2"
// Install SmartIT.DebugTraceHelper as a Cake Addin
#addin nuget:?package=SmartIT.DebugTraceHelper&version=5.0.2
// Install SmartIT.DebugTraceHelper as a Cake Tool
#tool nuget:?package=SmartIT.DebugTraceHelper&version=5.0.2
Debug helper logging utility
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 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
//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; }
}
}