-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some miscellaneous docs improvements #3080
some miscellaneous docs improvements #3080
Conversation
|
||
```csharp | ||
[AttributeUsage(AttributeTargets.Class)] | ||
internal class TypeFormatterSourceAttribute : Attribute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to add a link to the source file for TypeFormatterSourceAttribute
here instead (so that it always reflects the latest API)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won't change, and the readability is clearer to have it on the doc.
return false; | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be a good idea to repeat the following snippet for the convention-based registration sample as well (for completeness / to avoid confusion).
[TypeFormatterSource(typeof(MyFormatterSource))]
public class MyTypeWithCustomFormatting
{
}
| PowerShell | ✅ | | ||
| JavaScript | ✅ | | ||
| SQL | ✅ | | ||
| KQL ([Kusto Query Language](https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/)) | ✅ | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: This may just be my OCD but the 2nd |
char on this line appears to be misaligned. Only mentioning since you fixed up the indentation for the corresponding |
chars on other lines 😄
This PR makes a few improvements to the developer guide and README and also adds docs for attribute-based formatter registration.