35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Input;
|
|
using DTS.Common.Enums;
|
|
|
|
namespace DTS.Common.Interface.ISO.ExtraProperties
|
|
{
|
|
public interface IExtraProperty : INotifyPropertyChanged
|
|
{
|
|
/// <summary>
|
|
/// key/name of the property
|
|
/// </summary>
|
|
string Key { get; set; }
|
|
/// <summary>
|
|
/// value associated with property
|
|
/// </summary>
|
|
string Value { get; set; }
|
|
/// <summary>
|
|
/// handler for paste command
|
|
/// this is used for when data is pasted into either a key or value
|
|
/// it's needed because you can paste many rows, a CSV for example, into one field
|
|
/// </summary>
|
|
ICommand PasteCommand { get; set; }
|
|
/// <summary>
|
|
/// the status of the item in the UI
|
|
/// (failed/success/etc)
|
|
/// </summary>
|
|
UIItemStatus ItemStatus { get; set; }
|
|
}
|
|
}
|