You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.1 KiB
43 lines
1.1 KiB
using rabi_splitter_WPF.Annotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows;
|
|
|
|
namespace rabi_splitter_WPF
|
|
{
|
|
public class VariableExportContext : INotifyPropertyChanged
|
|
{
|
|
private List<VariableExportSetting> _variableExportSettings;
|
|
|
|
public VariableExportContext()
|
|
{
|
|
_variableExportSettings = new List<VariableExportSetting>();
|
|
}
|
|
|
|
public List<VariableExportSetting> VariableExportSettings
|
|
{
|
|
get { return _variableExportSettings; }
|
|
}
|
|
|
|
internal void Add(VariableExportSetting ves)
|
|
{
|
|
_variableExportSettings.Add(ves);
|
|
}
|
|
|
|
internal void Delete(VariableExportSetting ves)
|
|
{
|
|
_variableExportSettings.Remove(ves);
|
|
}
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
[NotifyPropertyChangedInvocator]
|
|
protected virtual void OnPropertyChanged(string propertyName)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
|