XamlStyler.Core.DocumentManipulation.NodeReorderService.ProcessElement C# (CSharp) 메소드

ProcessElement() 공개 메소드

public ProcessElement ( System.Xml.Linq.XElement element ) : void
element System.Xml.Linq.XElement
리턴 void
        public void ProcessElement(XElement element)
        {
            if (!IsEnabled) return;
            if (!element.HasElements) return;

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