예제 #1
0
 static void AssignBindings()
 {
     _artifactTypes = _bootLoaderResult.Container.Get <DolittleArtifactTypes>();
     _topologyConfigurationHandler  = _bootLoaderResult.Container.Get <TopologyConfigurationHandler>();
     _artifactsConfigurationHandler = _bootLoaderResult.Container.Get <ArtifactsConfigurationHandler>();
     _boundedContextLoader          = _bootLoaderResult.Container.Get <IBoundedContextLoader>();
 }
예제 #2
0
        /// <summary>
        /// Instantiates and instance of <see cref="ArtifactsDiscoverer"/>
        /// </summary>
        /// <param name="assemblyContext"></param>
        /// <param name="artifactTypes"></param>
        /// <param name="logger"></param>
        public ArtifactsDiscoverer(IAssemblyContext assemblyContext, DolittleArtifactTypes artifactTypes, IBuildToolLogger logger)
        {
            _assemblyContext = assemblyContext;
            _artifactTypes   = artifactTypes.ArtifactTypes;
            _logger          = logger;

            Artifacts = DiscoverArtifacts();
        }