Is it possible to access an attribute’s properties from within the item to which it’s applied (e.g. a method)? For example, with the code below, could I access a property on the “RequiresConnection” attribute from with the “Search” method?
[RequiresConnection]
public SearchResult Search(SearchInfo searchInfo)
{
}
Sure