BExIS.Xml.Models.Mapping.XmlMapper.IsSourceElement C# (CSharp) Method

IsSourceElement() public method

public IsSourceElement ( string sourceXPath ) : bool
sourceXPath string
return bool
        public bool IsSourceElement(string sourceXPath)
        {
            if (Routes.Where(x => x.Source.XPath.Equals(sourceXPath)).Count() > 0)
            {
                return true;
            }

            return false;
        }