OSDN Git Service

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