예제 #1
0
        public static bool RawFileReferenceExists(string filename, IEnumerable <Bundle> bundles)
        {
            var finder = new RawFileReferenceFinder(filename);

            bundles.Accept(finder);
            return(finder.IsRawFileReferenceFound);
        }
예제 #2
0
 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();
     }
 }
예제 #4
0
 public static bool RawFileReferenceExists(string filename, IEnumerable<Bundle> bundles)
 {
     var finder = new RawFileReferenceFinder(filename);
     bundles.Accept(finder);
     return finder.IsRawFileReferenceFound;
 }