internal IList<ResourceReadInfo> ReadResources(ResourceType resourceType, ResourceElementCollection resources)
        {
            List<ResourceReadInfo> resourceReadInfos = new List<ResourceReadInfo>(resources.Count);
            for (int i = 0; i < resources.Count; i++)
            {
                ResourceElement resourceElement = resources[i];
                ResourceInfo resourceInfo = ReadResource(resourceElement);
                ResourceReadInfo resourceReadInfo = new ResourceReadInfo
                    {
                        ResourceElement = resourceElement, 
                        ResourceInfo = resourceInfo
                    };
                resourceReadInfo = TransformResource(resourceType, resourceReadInfo);
                resourceReadInfos.Add(resourceReadInfo);
            }

            return resourceReadInfos;
        }
 internal ResourceReadInfo TransformResource(ResourceType resourceType, ResourceReadInfo resource)
 {
     switch (resourceType)
     {
         case ResourceType.Js:
             break;
         case ResourceType.Css:
             resource = new CssResourceImageUrlTransformer(m_VirtualPathProvider).Transform(resource);
             break;
         default:
             throw new ResourceProcessorException("Unsupported resource type '{0}'".FormatWith(resourceType));
     }
     return resource;
 }