From db4a062ded00ca1298f628b232cb5770191c41bf Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Mon, 31 May 2021 23:47:54 -0400 Subject: [PATCH] provide ability for Settings to be Required (e.g. when used as import options for UE DataFormats) --- MBS.Framework/Setting.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MBS.Framework/Setting.cs b/MBS.Framework/Setting.cs index bfa3759..798a2f9 100644 --- a/MBS.Framework/Setting.cs +++ b/MBS.Framework/Setting.cs @@ -45,6 +45,11 @@ namespace MBS.Framework public bool Enabled { get; set; } = true; public bool Visible { get; set; } = true; + /// + /// Gets or sets a value indicating whether this is required to have a value. + /// + /// true if this is required to have a value; otherwise, false. + public bool Required { get; set; } = false; public class SettingCollection : System.Collections.ObjectModel.Collection