public WeakAssemblyCache(AssemblyPathResolverCache cache)
 {
     this.assemblyFaildedResolver = cache.AssemblyFaildedResolverCache.Clone();
     this.assemblyNameDefinition = new Dictionary<string, AssemblyName>(cache.AssemblyNameDefinition);
     this.assemblyParts = new Dictionary<string, TargetPlatform>(cache.AssemblyParts);
     this.assemblyPathArchitecture = new Dictionary<string, TargetArchitecture>(cache.AssemblyPathArchitecture);
     this.assemblyPathName = new List<AssemblyPathName>(cache.AssemblyPathName);
 }
Beispiel #2
0
 public AssemblyPathResolver(AssemblyPathResolverCache pathRepository, ReaderParameters readerParameters)
 {
     this.pathRepository   = pathRepository;
     this.readerParameters = readerParameters;
 }
        /*Telerik Authorship*/
        protected BaseAssemblyResolver(AssemblyPathResolverCache pathRespository)
        {
            directories = new List<string>();
            resolvedAssemblies = new Dictionary<string, List<AssemblyDefinition>>();
            filePathToAssemblyDefinitionCache = new Dictionary<string, AssemblyDefinition>();
            userDefinedAssemblies = new List<string>();
            resolvableExtensionsSet = new HashSet<string>(SystemInformation.ResolvableExtensions);
            architectureStrings = GetArchitectureStrings();

            assemblyPathResolver = new AssemblyPathResolver(pathRespository, new ReaderParameters(this));
        }
 public AssemblyPathResolver(AssemblyPathResolverCache pathRepository, ReaderParameters readerParameters, ITargetPlatformResolver targetPlatformResolver)
 {
     this.pathRepository         = pathRepository;
     this.readerParameters       = readerParameters;
     this.targetPlatformResolver = targetPlatformResolver;
 }
 public AssemblyPathResolver(AssemblyPathResolverCache pathRepository, ReaderParameters readerParameters)
 {
     this.pathRepository = pathRepository;
     this.readerParameters = readerParameters;
 }
 public DefaultAssemblyResolver(AssemblyPathResolverCache pathRespository)
     : base(pathRespository) { }
 public WeakAssemblyResolver(AssemblyPathResolverCache cache)
     : base(new WeakAssemblyCache(cache)) { }
 public ThreadSafeWeakAssemblyResolver(AssemblyPathResolverCache cache)
     : base(cache)
 {
 }