mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
29 lines
824 B
C#
29 lines
824 B
C#
namespace Artemis.Core
|
|
{
|
|
/// <summary>
|
|
/// Represents a data binding registration
|
|
/// </summary>
|
|
public interface IDataBindingRegistration
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the display name of the data binding registration
|
|
/// </summary>
|
|
string DisplayName { get; }
|
|
|
|
/// <summary>
|
|
/// Returns the data binding applied using this registration
|
|
/// </summary>
|
|
public IDataBinding? GetDataBinding();
|
|
|
|
/// <summary>
|
|
/// If found, creates a data binding from storage
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
IDataBinding? CreateDataBinding();
|
|
|
|
/// <summary>
|
|
/// If present, removes the current data binding
|
|
/// </summary>
|
|
void ClearDataBinding();
|
|
}
|
|
} |