/*Telerik Authorship*/ protected BaseAssemblyResolver(AssemblyPathResolverCache pathRespository, ITargetPlatformResolver targetPlatformResolver) { directories = new List <string>(); resolvedAssemblies = new Dictionary <AssemblyStrongNameExtended, List <AssemblyDefinition> >(); filePathToAssemblyDefinitionCache = new Dictionary <string, AssemblyDefinition>(); userDefinedAssemblies = new List <string>(); resolvableExtensionsSet = new HashSet <string>(SystemInformation.ResolvableExtensions); architectureStrings = GetArchitectureStrings(); /*Telerik Authorship*/ directoryAssemblies = new HashSet <DirectoryAssemblyInfo>(); /*Telerik Authorship*/ this.targetPlatformResolver = targetPlatformResolver; /*Telerik Authorship*/ this.readerParameters = new ReaderParameters(this); /*Telerik Authorship*/ assemblyPathResolver = new AssemblyPathResolver(pathRespository, /*Telerik Authorship*/ this.readerParameters, /*Telerik Authorship*/ this.targetPlatformResolver); /*Telerik Authorship*/ this.resolveLock = new ReaderWriterLockSlim(); /*Telerik Authorship*/ this.directoriesLock = new ReaderWriterLockSlim(); /*Telerik Authorship*/ this.directoryAssembliesLock = new ReaderWriterLockSlim(); }
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); }
public WeakAssemblyCache(AssemblyPathResolverCache cache) { base(); this.assemblyFaildedResolver = cache.get_AssemblyFaildedResolverCache().Clone(); this.assemblyNameDefinition = new Dictionary <string, AssemblyName>(cache.get_AssemblyNameDefinition()); this.assemblyParts = new Dictionary <string, TargetPlatform>(cache.get_AssemblyParts()); this.assemblyPathArchitecture = new Dictionary <string, TargetArchitecture>(cache.get_AssemblyPathArchitecture()); this.assemblyPathName = new List <KeyValuePair <AssemblyStrongNameExtended, string> >(cache.get_AssemblyPathName()); return; }
/*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 ThreadSafeWeakAssemblyResolver(AssemblyPathResolverCache cache) : base(cache) { }
public WeakAssemblyResolver(AssemblyPathResolverCache cache) : base(new WeakAssemblyCache(cache)) { }
public DefaultAssemblyResolver(AssemblyPathResolverCache pathRespository) : base(pathRespository, /*Telerik Authroship*/ TargetPlatformResolver.Instance) { }
public WeakAssemblyResolver(AssemblyPathResolverCache cache) { base(new WeakAssemblyResolver.WeakAssemblyCache(cache)); return; }
public ThreadSafeWeakAssemblyResolver(AssemblyPathResolverCache cache) { this.resolvedAssembliesAccessLock = new Object(); base(cache); return; }
public DefaultAssemblyResolver(AssemblyPathResolverCache pathRespository) : base(pathRespository) { }