HaloOnlineLib.Resources.ResourceDataManager.GetCache C# (CSharp) 메소드

GetCache() 개인적인 메소드

private GetCache ( ResourceReference resource ) : LoadedCache
resource ResourceReference
리턴 LoadedCache
        private LoadedCache GetCache(ResourceReference resource)
        {
            LoadedCache cache;
            if (!_loadedCaches.TryGetValue(resource.GetLocation(), out cache))
                throw new InvalidOperationException("The requested resource is located in " + resource.GetLocation() + ", but the corresponding cache file has not been loaded.");
            return cache;
        }