private void ListLoadedTypesButton_Click(object sender, RoutedEventArgs e)
        {
            ClearMainView();

            var helper = new ListLoadedTypesHelper();
            var typesListBox = new TypesListBoxControl();
            typesListBox.Types = helper.ListLoadedTypes(AppDomain.CurrentDomain)
                .ToObservableCollection();
            this.MainView.Children.Add(typesListBox);
        }
        private void SearchTypeTextBox_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key != Key.Enter)
                return;

            ClearMainView();

            var filterText = this.SearchTypeTextBox.Text;
            if (string.IsNullOrWhiteSpace(filterText))
                return;

            var helper = new ListLoadedTypesHelper();
            var typesListBox = new TypesListBoxControl();
            typesListBox.Types = helper.ListLoadedTypes(AppDomain.CurrentDomain)
                .Where(o => o.Name.Contains(filterText, StringComparison.OrdinalIgnoreCase))
                .ToObservableCollection();
            this.MainView.Children.Add(typesListBox);
        }