public InputThingDialog() { InitializeComponent(); DataContext = new InputThingViewModel(InputThingDialogHost.Identifier, InputThingDialogHost.DialogContent); }
private void ClearInternal(InputThingViewModel inputThingViewModel) { inputThingViewModel.ThrowIfNull(nameof(inputThingViewModel)); inputThingViewModel.ThingName = string.Empty; ThingNameTextBox.Clear(); }