1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.Core/Models/Profile/DataBindings/DataBindingRegistration.cs

22 lines
841 B
C#

using System;
using System.Reflection;
namespace Artemis.Core
{
public class DataBindingRegistration
{
internal DataBindingRegistration(BaseLayerProperty layerProperty, PropertyInfo property, DataBindingConverter converter, string path)
{
LayerProperty = layerProperty ?? throw new ArgumentNullException(nameof(layerProperty));
Property = property ?? throw new ArgumentNullException(nameof(property));
Converter = converter ?? throw new ArgumentNullException(nameof(converter));
Path = path;
}
public DataBinding DataBinding { get; internal set; }
public BaseLayerProperty LayerProperty { get; }
public PropertyInfo Property { get; }
public DataBindingConverter Converter { get; }
public string Path { get; }
}
}