Core - Layer refactor WIP

This commit is contained in:
Robert committed 2020-09-08 17:32:40 +02:00
1 parent 4dcefa6667
commit 5096c7b30d
33 files changed
+941 -895

No files matched your search

@@ -0,0 +1,23 @@
using Artemis.Core.DataModelExpansions;
using Artemis.Core.Services;
namespace Artemis.Core
{
/// <summary>
/// Represents a data binding that binds a certain <see cref="LayerProperty{T}" /> to a value inside a <see cref="DataModel" />
/// </summary>
public interface IDataBinding : IStorageModel, IUpdateModel
{
/// <summary>
/// (Re)initializes the data binding
/// </summary>
/// <param name="dataModelService"></param>
/// <param name="dataBindingService"></param>
void Initialize(IDataModelService dataModelService, IDataBindingService dataBindingService);
/// <summary>
/// Applies the data binding to the layer property
/// </summary>
void Apply();
}
}