public InputThingDialog()
        {
            InitializeComponent();

            DataContext = new InputThingViewModel(InputThingDialogHost.Identifier,
                                                  InputThingDialogHost.DialogContent);
        }
Esempio n. 2
0
        private void ClearInternal(InputThingViewModel inputThingViewModel)
        {
            inputThingViewModel.ThrowIfNull(nameof(inputThingViewModel));

            inputThingViewModel.ThingName = string.Empty;
            ThingNameTextBox.Clear();
        }