NAnt.MSBuild.MSBuildProject.IsUrl C# (CSharp) Method

IsUrl() private static method

private static IsUrl ( string fileName ) : bool
fileName string
return bool
        private static bool IsUrl(string fileName)
        {
            if (fileName.StartsWith(Uri.UriSchemeFile) || fileName.StartsWith(Uri.UriSchemeHttp) || fileName.StartsWith(Uri.UriSchemeHttps)) {
                return true;
            }

            return false;
        }