Create Required attribute and tag properties

This commit is contained in:
Matt Nadareski
2023-08-10 12:09:29 -04:00
parent 1557882fe1
commit fb81fd0243
89 changed files with 316 additions and 155 deletions

View File

@@ -0,0 +1,9 @@
namespace SabreTools.Models
{
/// <summary>
/// Marks a property as required on write
/// </summary>
/// <remarks>TODO: Use reflection to determine required fields on write</remarks>
[System.AttributeUsage(System.AttributeTargets.Property)]
public class RequiredAttribute : System.Attribute { }
}