我试图做以下工作:
[FooAttribute(Value = String.Format("{0} - {1}", myReources.BaseString, "Bar"))]
public int FooBar { get; set; }
The compiler complains though... so what is the correct way to do it where I have my BaseString
in one location? My code is littered with attributes on the properties inside my library, so "global" internal const sound like the solution since I can t use resources.