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

SourceExist() public method

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