The construct is a bit unusual, but that's due to the nature of Attributes. Named parameters are not allowed there, and since I want to avoid a constructor with two strings (which is not very intuitive), we use public properties to fake the named paramaters (a common approach when working with attributes).
No comments:
Post a Comment