AspectObjectDumper 1.7.5-debug
See the version list below for details.
dotnet add package AspectObjectDumper --version 1.7.5-debug
NuGet\Install-Package AspectObjectDumper -Version 1.7.5-debug
<PackageReference Include="AspectObjectDumper" Version="1.7.5-debug" />
paket add AspectObjectDumper --version 1.7.5-debug
#r "nuget: AspectObjectDumper, 1.7.5-debug"
// Install AspectObjectDumper as a Cake Addin #addin nuget:?package=AspectObjectDumper&version=1.7.5-debug&prerelease // Install AspectObjectDumper as a Cake Tool #tool nuget:?package=AspectObjectDumper&version=1.7.5-debug&prerelease
Features:
* The dump output is separated from the targeted dump media by the familiar TextWriter interface.
* The programmer can dump the value of any type of object: primitive and enum types (including those marked with FlagsAttribute), custom classes, struct-s, collections, etc.
* For complex type objects (classes and structs) the dumper outputs the names and the values of the properties.
* The dump is recursive: the complex members of the dumped object are dumped indented.
* Dumps the elements of sequences (arrays, lists, dictionaries, etc.)
* Handles circular references.
* The developers can easily customize various aspects of the dump by using an attribute (DumpAttribute) on the classes and their members, such as:
- the order in which the properties are dumped;
- formatting of the property names and/or values;
- suppressing the dump of some uninteresting properties;
- masking the values of sensitive properties (e.g. PII);
- the depth of the recursion into complex members;
- the maximum number of dumped elements of sequence properties.
* The dumper picks the customization attributes also from buddy classes declared with MetadataTypeAttribute.
* Even if the class doesn't have any attributes, the programmer can still pass a metadata class as a separate parameter to the dumping method. This allows for control over the dump of BCL and third party classes.
* Built and tested with .NET 4.6.2.
For more information see the documentation at https://github.com/vmelamed/vm/blob/master/Aspects/Diagnostics/ObjectDumper.md.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- CommonServiceLocator (>= 1.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AspectObjectDumper:
Package | Downloads |
---|---|
vm.Aspects
A set of classes, utilities, etc. addressing various common cross-cutting concerns or extending existing similar libraries like Enterprise Library, Unity, etc. Supports .NET 4.6.2, 4.7.1 and 4.7.2. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.10.2 | 3,191 | 6/20/2018 |
1.10.0 | 2,211 | 4/25/2018 |
1.9.11 | 1,675 | 3/22/2018 |
1.9.10 | 3,719 | 11/10/2017 |
1.9.9 | 2,954 | 10/26/2017 |
1.9.8 | 1,419 | 10/26/2017 |
1.9.7 | 2,420 | 10/5/2017 |
1.8.0 | 1,452 | 10/1/2017 |
1.7.11 | 2,952 | 8/1/2017 |
1.7.10 | 1,537 | 7/30/2017 |
1.7.9 | 1,485 | 7/29/2017 |
1.7.8 | 1,535 | 7/28/2017 |
1.7.7 | 1,530 | 7/28/2017 |
1.7.6 | 2,786 | 7/6/2017 |
1.7.5 | 2,243 | 6/30/2017 |
1.7.5-debug | 1,294 | 6/30/2017 |
1.7.4 | 1,492 | 6/26/2017 |
1.7.4-debug | 1,335 | 6/26/2017 |
1.6.22 | 4,433 | 4/7/2017 |
1.6.21 | 1,685 | 3/22/2017 |
1.6.18 | 1,929 | 3/3/2017 |
1.6.15 | 2,186 | 2/19/2017 |
1.6.12 | 4,867 | 10/28/2016 |
1.6.11 | 1,599 | 10/25/2016 |
1.6.10 | 1,591 | 10/25/2016 |
1.6.9 | 1,554 | 10/25/2016 |
1.6.8 | 4,148 | 7/1/2016 |
1.6.7 | 1,789 | 6/29/2016 |
1.6.6 | 1,608 | 6/25/2016 |
1.6.5 | 1,608 | 6/23/2016 |
1.6.4 | 1,592 | 6/19/2016 |
1.6.2 | 1,892 | 5/27/2016 |
1.5.5 | 1,848 | 4/24/2016 |
1.5.4 | 1,615 | 4/14/2016 |
1.5.3 | 1,645 | 4/8/2016 |
1.5.2 | 1,898 | 1/27/2016 |
1.5.1 | 3,776 | 1/26/2016 |
1.5.0 | 2,597 | 1/1/2016 |
1.4.2 | 2,649 | 12/15/2015 |
1.4.0 | 2,703 | 9/17/2015 |
1.3.2 | 2,051 | 5/20/2015 |
1.3.0 | 1,716 | 5/9/2015 |
1.2.1 | 1,714 | 5/20/2015 |
1.2.0.5 | 3,190 | 4/19/2015 |
1.2.0.3 | 2,035 | 4/9/2015 |
1.2.0.1 | 1,741 | 4/9/2015 |
1.2.0 | 1,707 | 4/7/2015 |
1.1.0.1 | 2,172 | 3/5/2015 |
1.0.3.7 | 1,840 | 3/4/2015 |
1.0.3.6 | 1,870 | 3/3/2015 |
1.0.3.5 | 1,905 | 3/3/2015 |
1.0.3.4 | 2,102 | 3/3/2015 |
1.0.3.3 | 1,945 | 3/3/2015 |
1.0.3.2 | 1,649 | 3/3/2015 |
1.0.3.1 | 1,951 | 3/3/2015 |
1.0.2.4 | 1,978 | 12/2/2014 |
1.0.2.2 | 1,818 | 10/24/2014 |
1.0.2.1 | 1,782 | 10/24/2014 |
1.0.1.2 | 1,678 | 10/23/2014 |
1.0.1.1 | 2,365 | 5/9/2014 |
1.0.1 | 1,961 | 5/9/2014 |
1.0.0.1 | 3,613 | 12/3/2013 |
1.0.0 | 1,878 | 12/3/2013 |
0.9.3 | 1,953 | 9/18/2013 |
0.9.2 | 1,852 | 9/15/2013 |
0.9.1 | 1,880 | 9/12/2013 |
Targeted frameworks .NET v.4.5.2, .NET v.4.6.2 and higher.
This version features a promising performance optimization which leverages cache of generated LINQ expression trees.
For each dumped type of object, the dumper uses reflection to iterate through its properties and fields, and the properties of the base classes and the aggregated objects.
Along the traversal it builds an expression tree that represents the dumping process of writing labels, accessing members, formatting and writing properties' values directly without reflection.
The so generated expression tree is then compiled and cached. Any subsequent calls to dump objects of the same type, retrieve the dumping code from an internal static cache and execute it.
The performance of the subsequent calls is more than 100 times faster, usually less than one half of a millisecond.
Updated the documentation at https://github.com/vmelamed/vm/blob/master/Aspects/Diagnostics/ObjectDumper.md.