public static bool RawFileReferenceExists(string filename, IEnumerable <Bundle> bundles) { var finder = new RawFileReferenceFinder(filename); bundles.Accept(finder); return(finder.IsRawFileReferenceFound); }
bool BundlesContainRawFileReference(string path) { using (bundles.GetReadLock()) { return(RawFileReferenceFinder.RawFileReferenceExists(path, bundles)); } }
bool RawFileReferenceExists(string path) { readOnlyBundlesLock.EnterReadLock(); try { return(RawFileReferenceFinder.RawFileReferenceExists(path, readOnlyBundles)); } finally { readOnlyBundlesLock.ExitReadLock(); } }
public static bool RawFileReferenceExists(string filename, IEnumerable<Bundle> bundles) { var finder = new RawFileReferenceFinder(filename); bundles.Accept(finder); return finder.IsRawFileReferenceFound; }