Ejemplo n.º 1
0
        public AssemblyResolver(IEnumerable <string> dirs, Configuration configuration, AssemblyCache cache = null)
        {
            Configuration = configuration;

            OwnsCache = (cache == null);
            Cache     = cache ?? new AssemblyCache();

            foreach (var dir in dirs)
            {
                AddSearchDirectory(dir);
            }
        }