Closed ryansaltuk closed 9 years ago
That's a great idea @ryansaltuk!
Would you like to take a go at trying to implement that? I would imagine most of the logic would sit in the Title
getter. If a title is explicitly set, we should use that, and if not try to resolve from resx.
Thx @ryansaltuk we have implemented the possibility to use data from resource files in the FlushHeadAttribute using TitleResourceName and TitleResourceType (https://github.com/nikmd23/CourtesyFlush/commit/c9d887822b30a3009f5f086c68eb3915ee9a4586)
Hi there Would it be possible to create TitleResourceType=(typeof(Type)) and TitleResouceName="[string]" properties in the attribute, much like DataAnnotations so that we could pull the Title attribute from resource files? Thanks Ryan