function to generate pretty type name
In LINQPad 7 i remember using a LINQPad build in function to generate pretty type name (with < and > around generic arguments), but I forgot the name and can't find it in LINQPad 9. Is it still present? and if yes what is the name?
Comments
-
The one I use is
var typeName = LINQPad.Extensibility.DataContext.DataContextDriver.FormatTypeName(type, false);This is mentioned in the documentation for writing your own DataContext driver where is says it Returns a friendly name for a type