Skip to content

Commit ad2d1ef

Browse files
committed
Fixed a typo.
1 parent 5cc69b5 commit ad2d1ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CSharpToJavaScript/Utils/Attributes.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ public ValueAttribute(string value)
3333
/// FirstCharToLowerCase: convert the first char to lowercase.<br />
3434
/// None: convert to empty.<br />
3535
/// NoneWithLeadingDotRemoved: convert to empty with the leading dot removed.<br />
36-
/// NoneWithTailingDotRemoved: convert to empty with the trailing dot removed.<br />
36+
/// NoneWithTrailingDotRemoved: convert to empty with the trailing dot removed.<br />
3737
/// </remarks>
3838
[AttributeUsage(AttributeTargets.All)]
3939
public class ToAttribute : Attribute
4040
{
4141
public const string None = "None";
4242
public const string NoneWithLeadingDotRemoved = "NoneWithLeadingDotRemoved";
43-
public const string NoneWithTailingDotRemoved = "NoneWithTailingDotRemoved";
43+
public const string NoneWithTrailingDotRemoved = "NoneWithTrailingDotRemoved";
4444
public const string Default = "Default";
4545
public const string ToLower = "ToLower";
4646
public const string FirstCharToLowerCase = "FirstCharToLowerCase";
@@ -60,7 +60,7 @@ public string Convert(string str)
6060
case FirstCharToLowerCase:
6161
return str.FirstCharToLowerCase();
6262
case NoneWithLeadingDotRemoved:
63-
case NoneWithTailingDotRemoved:
63+
case NoneWithTrailingDotRemoved:
6464
case None:
6565
return "";
6666
case Default:

0 commit comments

Comments
 (0)