Ejemplo n.º 1
0
 public AssemblyCacheService(IEnumerable<string> dlls, VersionResolverService versionresolverService, ConfigurationService configurationService, bool useCache)
 {
     _versionresolverService = versionresolverService;
     _configurationGetter = configurationService;
     _useCache = useCache;
     _readerParameters = new/**/ ReaderParameters { AssemblyResolver = _assemblyResolver };
     _conflictingAssemblies = new/**/ Dictionary<Tuple<Version, string>, SortedSet<SemanticVersion>>();
     IgnoredAssemblies = new/**/ SortedDictionary<Tuple<SemanticVersion, string>, DllReference>();
     _conflictingAssemblies = new/**/ Dictionary<Tuple<Version, string>, SortedSet<SemanticVersion>>();
     _assemblies = CreateOrUpdateAssemblies(dlls);
 }
 public NuGetPackageCreationService(AssemblyCacheService assemblyCacheService, MappingService mappingService, ConfigurationService configurationService, DependenciesResolverService dependenciesResolverService, bool useCache,
                                   string repository, string credential, string owner,string author, string slackUrl, string slackChannel, string slackUsername)
 {
     _assemblyCacheService = assemblyCacheService;
     _mappingService = mappingService;
     _configurationService = configurationService;
     _dependenciesResolverService = dependenciesResolverService;
     _useCache = useCache;
     _repository = repository;
     _credential = credential;
     _owner = owner;
     _author = author;
     _slackUrl = slackUrl;
     _slackChannel = slackChannel;
     _slackUsername = slackUsername;
 }
 public VersionResolverService(ConfigurationService service, ResolutionLevelEnum  resolutionLevel)
 {
     _service = service;
     _resolutionLevel = resolutionLevel;
 }