예제 #1
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();
     }
 }