mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Data model conditions - Added event predicates (WIP commit)
This commit is contained in:
1 parent
574c4b21ec
commit
fbd319beb9
24 files changed
+568
-37
No files matched your search
@@ -0,0 +1,17 @@
|
||||
using Artemis.Core;
|
||||
|
||||
namespace Artemis.UI.Shared
|
||||
{
|
||||
public static class DataModelWrapperExtensions
|
||||
{
|
||||
public static DataModelPropertiesViewModel CreateViewModel(this EventPredicateWrapperDataModel wrapper)
|
||||
{
|
||||
return new DataModelPropertiesViewModel(wrapper, null, new DataModelPath(wrapper));
|
||||
}
|
||||
|
||||
public static DataModelPropertiesViewModel CreateViewModel(this ListPredicateWrapperDataModel wrapper)
|
||||
{
|
||||
return new DataModelPropertiesViewModel(wrapper, null, new DataModelPath(wrapper));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user