We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would love to extend attributes like FieldAlignAttribute to match my current requirements and to avoid repeating [FieldAlign(AlignMode.Right, '0')].
FieldAlignAttribute
[FieldAlign(AlignMode.Right, '0')]
I could imagine the reason for using sealed is about performance, but are there really any significant gains, to justify the removal of extensibility?
If there are other reasons I haven't thought of, please enlighten me :)
The text was updated successfully, but these errors were encountered:
Hi there
All attributes are marked as sealed because the library knows how to work with them, if you inherit from it and add extra info it don't get used
But thinking in your scenario, is completely right to create a FieldAlignRightWithZero() and call the constructor of the FieldAlignAtrribute
Cheers
Sorry, something went wrong.
No branches or pull requests
I would love to extend attributes like
FieldAlignAttribute
to match my current requirements and to avoid repeating[FieldAlign(AlignMode.Right, '0')]
.I could imagine the reason for using sealed is about performance, but are there really any significant gains, to justify the removal of extensibility?
If there are other reasons I haven't thought of, please enlighten me :)
The text was updated successfully, but these errors were encountered: