tangxu
2024-10-22 6a07c4c846ffbb1e93afdf0260e123e4c145f419
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
namespace DPumpHydr.WinFrmUI.WenSkin.Json
{
    /// <summary>
    /// Indicating whether a property is required.
    /// </summary>
    public enum Required
    {
        /// <summary>
        /// The property is not required. The default state.
        /// </summary>
        Default,
        /// <summary>
        /// The property must be defined in JSON but can be a null value.
        /// </summary>
        AllowNull,
        /// <summary>
        /// The property must be defined in JSON and cannot be a null value.
        /// </summary>
        Always,
        /// <summary>
        /// The property is not required but it cannot be a null value.
        /// </summary>
        DisallowNull
    }
}