OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / interop / DisplayStringAttribute.cs
1 namespace HandBrake.Interop\r
2 {\r
3     using System;\r
4 \r
5     [AttributeUsage(AttributeTargets.Field)]\r
6     public sealed class DisplayStringAttribute : Attribute\r
7     {\r
8         private readonly string value;\r
9 \r
10         public string Value\r
11         {\r
12             get { return value; }\r
13         }\r
14 \r
15         public string ResourceKey { get; set; }\r
16 \r
17         public DisplayStringAttribute(string v)\r
18         {\r
19             this.value = v;\r
20         }\r
21 \r
22         public DisplayStringAttribute()\r
23         {\r
24         }\r
25     }\r
26 }\r