Ejemplo n.º 1
0
		void Command_Content_Attributes(SelectContentAttributeDialog.Result result) => ContentReplaceSelections(GetSelectionNodes().SelectMany(node => node.GetAttrs(result.Attribute, result.FirstOnly)));
		public static Result Run(Window parent, List<ParserNode> nodes)
		{
			var dialog = new SelectContentAttributeDialog(nodes) { Owner = parent };
			return dialog.ShowDialog() ? dialog.result : null;
		}