This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
using System;
using System.ComponentModel;
using System.Windows.Input;
using DTS.Common.Enums;
using DTS.Common.Interface.ISO.ExtraProperties;
namespace DTS.Common.Classes.TestSetups
{
[Serializable]
public class ExtraProperty : IExtraProperty
{
public ExtraProperty(IExtraProperty iep)
: this()
{
_key = iep.Key;
_value = iep.Value;
}
public ExtraProperty(string key, string value)
: this()
{
_key = key;
_value = value;
}
public ExtraProperty()
{
_key = string.Empty;
_value = string.Empty;
}
private string _key;
public string Key
{
get => _key;
set { _key = value; OnPropertyChanged("Key"); }
}
private string _value;
public string Value
{
get => _value;
set { _value = value; OnPropertyChanged("Value"); }
}
private ICommand _pasteCommand;
public ICommand PasteCommand
{
get => _pasteCommand;
set { _pasteCommand = value; OnPropertyChanged("PasteCommand"); }
}
private UIItemStatus _itemStatus;
public UIItemStatus ItemStatus
{
get => _itemStatus;
set { _itemStatus = value; OnPropertyChanged("ItemStatus"); }
}
public event PropertyChangedEventHandler PropertyChanged;
private void OnPropertyChanged(string propertyName = null)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}