2021-03-07 10:38:56 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace MassiveKnob.Plugin.VoiceMeeter.RunMacro
|
2021-03-06 10:53:38 +01:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for VoiceMeeterRunMacroActionSettingsView.xaml
|
|
|
|
|
/// </summary>
|
2021-03-07 10:38:56 +01:00
|
|
|
|
public partial class VoiceMeeterRunMacroActionSettingsView : IDisposable
|
2021-03-06 10:53:38 +01:00
|
|
|
|
{
|
2021-03-07 10:38:56 +01:00
|
|
|
|
// ReSharper disable once SuggestBaseTypeForParameter
|
2021-03-06 10:53:38 +01:00
|
|
|
|
public VoiceMeeterRunMacroActionSettingsView(VoiceMeeterRunMacroActionSettingsViewModel viewModel)
|
|
|
|
|
{
|
|
|
|
|
DataContext = viewModel;
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2021-03-07 10:38:56 +01:00
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
(DataContext as VoiceMeeterRunMacroActionSettingsViewModel)?.Dispose();
|
|
|
|
|
}
|
2021-03-06 10:53:38 +01:00
|
|
|
|
}
|
|
|
|
|
}
|