Votes

Share

It works for StringLenght as this attribute supports resouce files directly via a key and a resource type and R# 7 added a new feature to support move to resoucefile..For the other ones you have to create new attributes which inherit from DisplayName (because the designer is looking for that type) etc. Not sure if you can build it similar to StringLenght, I mean the key property and the resourcetype property. Depends on how you have to call the base class and what you can overwrite.

By the way I opened a you track issue as I need this resource feature for our own attributes too. We have a key property and a resourcetype property. Is there some way to tell resharper about it so that it supports move to resources?