-
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
using System.ComponentModel;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace mpvInputEdit
|
||||
{
|
||||
[Serializable]
|
||||
public class InputItem : INotifyPropertyChanged
|
||||
{
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
public string Menu { get; set; } = "";
|
||||
public string Command { get; set; } = "";
|
||||
|
||||
public InputItem() { }
|
||||
|
||||
public InputItem(SerializationInfo info, StreamingContext context) {}
|
||||
|
||||
private void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
|
||||
Reference in New Issue
Block a user