36 packages tagged with “tostring”
Generate ToString method from public properties.
An open source utility to turn object graphs into strings. Automate your ToString and unit tests asserts.
NET Compiler Platform ("Roslyn") analyzer to disallow calling object.ToString() on types lacking an override.
Extension functions for Debug and Console output
Format enumerables: array, 2d-array, dictionary, etc. into string for console output
Format each element of enumerables with identical string width
The library will help you to avoid handwriting ToString methods for your .NET projects.
Debug/Console output for formatted enumerables: array, 2d-array, dictionary, etc. into string for console output
Meaningful ToString() is an extremely lightweight .NET class library that helps describe your instances in a more meaningful way.
Provides convenient utility methods for working with Enums and their user-friendly descriptions
Displays a SqlCommand as a full SQL string with all parameters inline. Makes it easy to debug (copy paste to db tool). Please submit pull requests on GitHub.
Source Generator generating ToString extension methods for any enums
Auto-generates `ToString()` based on your class's fields and/or properties.
Package Description
A set of expression trees, and instances of other types from System.Linq.Expressions, for testing code against a variety of expression trees. The objects are generated by the C# compiler, by the VB.NET compiler, or using the factory methods at System.Linq.Expressions.Expression.
Lightweight pretty-printer utilities for .NET
Extends .NET collections with Python-style `ToString` formatting. Easily convert lists, dictionaries, sets, and other collections into Python-inspired string representations. Now with support for Priority Queues!
This library enables serialization an object of any type to string format (xml/json/base64) and to deserialize a resulted string back to object instance. Also it supports to implement a custom serialization strategy. 1. Serialize : serializes an object to string (depends on type xml/json/jsv/base64/...) 2. Deserialize : deserializes a string to object (depends on type xml/json/jsv/base64/...) 3. DeepCopy : performs deep copied an object For detail please check project site https://juanonsoftware.github.io/SerializationMaster-Package/
This library enables you to serialize an object of any type to json format and to deserialize a resulted string back to object instance based on Json.NET.
Render razor template to string.
A collection of extension methods for better string representations (e.g. IEnumerable and specializations for IList, ISet and IDictionary, TimeSpan).
Auto generate ToString overloads for classes
This library enables you to serialize an object of any type to json format and to deserialize a resulted string back to object instance based on JavaScriptSerializer.
Source code generator for generating ToString override.
**To String Generator ** It will help you out by generating the ToString() method for you. The several options that we get by using Ctrl+. there will be "Generate ToString()". Please be aware that if the type is already having the ToString method then it will not provide any suggestions. The generated ToString() method will include all the public properties of that type.
The TooString() extension method stringifies objects in ways that other serializers don't. TooString() can - make a best effort to stringify unserializable objects. - Output as Json, or C# Code, or ‘debug’ output Example: ``` ( Math.Sqrt(4 * Math.PI / 3) ).TooString( TooStringStyle.CallerArgument ) // Output is the literal code: "Math.Sqrt(4 * Math.PI / 3)" new { A = "boo", B = new Complex(3,4) }.TooString(TooStringStyle.Json); // Output is the System.Text.Json output: // {"A":"boo","B":{"Real":3,"Imaginary":4,"Magnitude":5,"Phase":0.9272952180016122}} new { A = "boo", B = new Complex(3,4) }.TooString(TooStringStyle.Reflection); // Output is "{ A = boo, B = { Real = 3, Imaginary = 4, Magnitude = 5, Phase = 0.9272952180016122 } }" ```
Null aware ToString magically calls ToString method on any object without throwing NullReferenceException.
Essential debugging utilities for C# - Python-style repr(), caller info, and object inspection tools. Stop struggling with useless ToString() output!
This library enables you to serialize an object of any type to json format and to deserialize a resulted string back to object instance based on ServiceStack.Text library.
A source generator for C# that uses Roslyn to create extensions and parsers for enumerations