mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Core - Layer refactor WIP
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user