StructRecordsGenerator
StructRecordsGenerator copied to clipboard
Add an attribute to print the content of a collection field
[StructRecord]
public struct FooBar {
[ToStringAsCollection]
public string[] X {get; set;}
}
And in this case the member X will be printed with the content of the array and not just as 'string[]'.
Would this be for the generated ToString() method, or for [DebuggerDisplay] ?