XamlStyler.Core.DocumentManipulation.NodeReorderService.ProcessElement C# (CSharp) Méthode

ProcessElement() public méthode

public ProcessElement ( System.Xml.Linq.XElement element ) : void
element System.Xml.Linq.XElement
Résultat void
        public void ProcessElement(XElement element)
        {
            if (!IsEnabled) return;
            if (!element.HasElements) return;

            if (ParentNodeNames.Any(match => match.IsMatch(element.Name)))
            {
                ReorderChildNodes(element);
            }
        }