davidelettieri / auto-tostring

VS extension to generate a simple tostring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto-tostring

VS extension to generate a simple tostring

The extension allow to generate a ToString method printing all the public properties of an object, it uses a formatted string implicitily calling ToString on property value. So if a classes does not have a proper ToString implementation it will print the name of the class e.g. arrays.

The extension register a code refactoring that is available on a class or a struct if it doesn't already contains a ToString method. Here a sample video that shows how it works

About

VS extension to generate a simple tostring

License:GNU General Public License v3.0


Languages

Language:C# 100.0%