mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Conditions UI - Open dropdowns automatically when editing static values
Conditions UI - Added missing defaults for enum/bool Data models - Use enum descriptions in display
This commit is contained in:
1 parent
7ccfe775fd
commit
ceccc7ceec
9 files changed
+23
-34
No files matched your search
@@ -58,7 +58,7 @@ namespace Artemis.Core.DataModelExpansions
|
||||
/// <param name="key">The key of the child, must be unique to this data model</param>
|
||||
/// <param name="name">An optional name, if not provided the key will be used in a humanized form</param>
|
||||
/// <param name="description">An optional description</param>
|
||||
public DataModel AddDynamicChild(DataModel dynamicDataModel, string key, string name = null, string description = null)
|
||||
public T AddDynamicChild<T>(T dynamicDataModel, string key, string name = null, string description = null) where T : DataModel
|
||||
{
|
||||
if (dynamicDataModel == null)
|
||||
throw new ArgumentNullException(nameof(dynamicDataModel));
|
||||
|
||||
Reference in new issue
Block a user