We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 272a57a commit e61ff7aCopy full SHA for e61ff7a
1 file changed
CSharpToJavaScript/Utils/Attributes.cs
@@ -8,12 +8,20 @@ internal class IgnoreAttribute : Attribute
8
{
9
public IgnoreAttribute() { }
10
}
11
-
12
[AttributeUsage(AttributeTargets.All)]
13
public class ValueAttribute : Attribute
14
15
public string Value { get; init; }
16
- public ValueAttribute(string value)
+ public ValueAttribute(string value)
+ {
17
+ Value = value;
18
+ }
19
20
+ [AttributeUsage(AttributeTargets.All)]
21
+ public class EnumValueAttribute : Attribute
22
23
+ public string Value { get; init; }
24
+ public EnumValueAttribute(string value)
25
26
Value = value;
27
0 commit comments