public InputThingDialog()
        {
            InitializeComponent();

            DataContext = new InputThingViewModel(InputThingDialogHost.Identifier,
                                                  InputThingDialogHost.DialogContent);
        }
Пример #2
0
        private void ClearInternal(InputThingViewModel inputThingViewModel)
        {
            inputThingViewModel.ThrowIfNull(nameof(inputThingViewModel));

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