Profiles - Added IPluginFeatureDependent interface and implement throughout profiles (#842)

* Profiles - Added IPluginFeatureDependent interface and implement througout profiles
* Workshop - Include dependencies in profile upload request
This commit is contained in:
RobertBeekman authored and GitHub committed 2024-03-03 20:19:36 +01:00
1 parent 28640f9502
commit e5a5f10286
27 files changed
+209 -24

No files matched your search

+10 -1
View File
@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Artemis.Core.Events;
using DryIoc;
namespace Artemis.Core;
@@ -404,4 +403,14 @@ public abstract class Node : BreakableModel, INode
}
#endregion
#region Implementation of IPluginFeatureDependent
/// <inheritdoc />
public virtual IEnumerable<PluginFeature> GetFeatureDependencies()
{
return NodeData == null ? [] : [NodeData.Provider];
}
#endregion
}