Esempio n. 1
0
 /// <summary>
 /// Instantiates an instance of <see cref="ProxiesBuilder"/>
 /// </summary>
 /// <param name="templateLoader"></param>
 /// <param name="artifacts">The discovered types of artifacts in the Bounded Context's assemblies</param>
 /// <param name="artifactTypes"></param>
 /// <param name="logger"></param>
 public ProxiesBuilder(TemplateLoader templateLoader, Type[] artifacts, DolittleArtifactTypes artifactTypes, IBuildToolLogger logger)
 {
     _templateLoader = templateLoader;
     _artifacts      = artifacts;
     _artifactTypes  = artifactTypes;
     _logger         = logger;
 }
        /// <summary>
        /// Instantiates an instance of <see cref="ArtifactsConfigurationBuilder"/>
        /// </summary>
        /// <param name="artifacts">The discovered types of artifacts in the Bounded Context's assemblies</param>
        /// <param name="currentArtifactsConfiguration">The current <see cref="ArtifactsConfiguration"/> that will be used as a base for building a valid updated configuration that is returned from Build</param>
        /// <param name="artifactTypes">A list of <see cref="ArtifactType"/> which represents the different artifact types</param>
        /// <param name="logger"></param>
        public ArtifactsConfigurationBuilder(Type[] artifacts, ArtifactsConfiguration currentArtifactsConfiguration, DolittleArtifactTypes artifactTypes, IBuildToolLogger logger)
        {
            _artifacts = artifacts;
            _logger    = logger;

            _artifactTypes = artifactTypes;
            _currentArtifactsConfiguration = currentArtifactsConfiguration;
        }
 /// <summary>
 /// Initializes an instance of <see cref="ArtifactsConfigurationHandler"/>
 /// </summary>
 /// <param name="configurationManager"></param>
 /// <param name="artifactTypes">A list of <see cref="ArtifactType"/> which represents the different artifact types</param>
 /// <param name="logger"></param>
 public ArtifactsConfigurationHandler(IArtifactsConfigurationManager configurationManager, DolittleArtifactTypes artifactTypes, IBuildToolLogger logger)
 {
     _configurationManager = configurationManager;
     _artifactTypes        = artifactTypes;
     _logger = logger;
 }