/// <summary> /// Cria a instancia do o gerenciador de resolução de assemblies. /// </summary> /// <param name="assemblyResolverManager"></param> public AppDomainAssemblyRepository(AssemblyResolverManager assemblyResolverManager) { assemblyResolverManager.Require("assemblyResolverManager").NotNull(); _assemblyResolverManager = assemblyResolverManager; }
/// <summary> /// Cria a instancia para o domínio informado. /// </summary> /// <param name="domain"></param> public AppDomainAssemblyRepository(AppDomain domain) { domain.Require("domain").NotNull(); _assemblyResolverManager = new AssemblyResolverManager(domain); }