private void AddDataModel(ApplicationDataModel dataModel) { var plugin = new PredicatePlugin { DataModels = { dataModel } }; _dataModels.Add(new StorageDataModel(null, plugin)); }
private void AddStorageModel(string pluginName = null, string pluginVersion = null) { var plugin = new PredicatePlugin { Name = pluginName, Version = pluginVersion, DataModels = { new ApplicationDataModel() } }; var storageModel = new StorageDataModel(null, plugin); _dataModels.Add(storageModel); }