provide ability for Settings to be Required (e.g. when used as import options for UE DataFormats)

This commit is contained in:
Michael Becker 2021-05-31 23:47:54 -04:00
parent a6a9a96aa1
commit db4a062ded
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

View File

@ -45,6 +45,11 @@ namespace MBS.Framework
public bool Enabled { get; set; } = true; public bool Enabled { get; set; } = true;
public bool Visible { get; set; } = true; public bool Visible { get; set; } = true;
/// <summary>
/// Gets or sets a value indicating whether this <see cref="Setting"/> is required to have a value.
/// </summary>
/// <value><c>true</c> if this <see cref="Setting" /> is required to have a value; otherwise, <c>false</c>.</value>
public bool Required { get; set; } = false;
public class SettingCollection public class SettingCollection
: System.Collections.ObjectModel.Collection<Setting> : System.Collections.ObjectModel.Collection<Setting>