Custom attributes with constructor

Yes, you read that correctly! nanoFramework just got support for these. You can now have custom attributes with a constructor and access the value on the constructor. Let's see some code to illustrate this. Consider these two classes defining attributes. public class AuthorAttribute : Attribute { private readonly string _author; public string Author => _author; … Continue reading Custom attributes with constructor