I found AssembliesToExclude and MethodsToExclude by browsing through the
MiniProfiler.Settings namespace with intellisense, but could not figure out how
to add to them (since they're both read-only IEnumerable) until I went to the
MiniProfiler source code and found ExcludeMethod() and ExcludeAssembly().
It would improve usability if the XML help was changed:
/// <summary>
/// Assemblies to exclude from the stack trace report.
/// Add to this using the <see cref="ExcludeAssembly"/> method.
/// </summary>
Should apply to assemblies, methods, and types.
This may sound trivial or stupid to any MiniProfiler dev's but consider you're
used to the API. I am not, and with the current lack of documentation,
intellisense is very important. My first reaction was "oh, that's dumb, it's
IEnumerable but should be IList, I'm gonna fix it" .. not "oh, there must be
somewhere else to configure this".
Original issue reported on code.google.com by gro...@gmail.com on 21 Mar 2012 at 7:44
Original issue reported on code.google.com by
gro...@gmail.com
on 21 Mar 2012 at 7:44