private void OpenExceptionDetailsDialog() { var ymlstr = YamlConverter.ExceptionToYaml(OccuredException); TreeViewDialog dialog = new TreeViewDialog(ymlstr); dialog.Title = $"Exception Details[{ OccuredException.GetType().Name}]"; dialog.ShowDialog(); }
public DataStructureBreakdownMenuViewModel() { DataStructureBreakdownCommand.Subscribe(_ => { var parameter = SelectManager.GetCollection <EntityBaseObjectViewModel>(); var yaml = YamlConverter.ToYaml(parameter); TreeViewDialog dialog = new TreeViewDialog(yaml); dialog.Title = "Data Structure Breakdown"; dialog.ShowDialog(); }) .AddTo(disposables); }