Add struct to mapfrom

This commit is contained in:
Wvader 2021-12-06 16:02:10 +00:00
parent 302a15b30f
commit 4d73897b4e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace MapTo.Sources
}
builder
.WriteLine("[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]")
.WriteLine("[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]")
.WriteLine($"public sealed class {AttributeName}Attribute : Attribute")
.WriteOpeningBracket();