File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) ]
3939public 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 :
You can’t perform that action at this time.
0 commit comments