コード例 #1
0
 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);
 }
コード例 #2
0
 public AssemblyPathResolver(AssemblyPathResolverCache pathRepository, ReaderParameters readerParameters)
 {
     this.pathRepository   = pathRepository;
     this.readerParameters = readerParameters;
 }
コード例 #3
0
        /*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));
        }
コード例 #4
0
 public AssemblyPathResolver(AssemblyPathResolverCache pathRepository, ReaderParameters readerParameters, ITargetPlatformResolver targetPlatformResolver)
 {
     this.pathRepository         = pathRepository;
     this.readerParameters       = readerParameters;
     this.targetPlatformResolver = targetPlatformResolver;
 }
コード例 #5
0
 public AssemblyPathResolver(AssemblyPathResolverCache pathRepository, ReaderParameters readerParameters)
 {
     this.pathRepository = pathRepository;
     this.readerParameters = readerParameters;
 }
コード例 #6
0
 public DefaultAssemblyResolver(AssemblyPathResolverCache pathRespository)
     : base(pathRespository) { }
コード例 #7
0
 public WeakAssemblyResolver(AssemblyPathResolverCache cache)
     : base(new WeakAssemblyCache(cache)) { }
コード例 #8
0
 public ThreadSafeWeakAssemblyResolver(AssemblyPathResolverCache cache)
     : base(cache)
 {
 }