public void Require(params string[] name)
 {
     name.Each(x =>
     {
         // Explode out sets right off the bat
         if (MimeType.MimeTypeByFileName(x) == null)
         {
             var requiredNames = _finder.CompileDependenciesAndOrder(new string[] { x });
             _requirements.Fill(requiredNames);
         }
         else
         {
             _requirements.Fill(x);
         }
     });
 }
        public void WarmUpSet(string name)
        {
            var dependencies = _finder.CompileDependenciesAndOrder(new[] { name }).ToList();

            if (dependencies.Count == 0)
            {
                return;
            }
            var mimeType = MimeType.MimeTypeByFileName(dependencies[0]);

            _planCache.PlanFor(mimeType, dependencies);
        }
        public void WarmUpSet(string name)
        {
            var dependencies = _finder.CompileDependenciesAndOrder(new[] { name }).ToList();

            if (dependencies.Count == 0)
            {
                return;
            }

            var mimeTypes = dependencies.GroupBy(MimeType.MimeTypeByFileName);

            foreach (var mimeType in mimeTypes)
            {
                _planCache.PlanFor(mimeType.Key, mimeType);
            }
        }