/// <summary>
        /// Creates the proxies given a list of artifacts and configurations.
        /// </summary>
        /// <param name="artifacts">All artifacts as types.</param>
        /// <param name="configuration">Current <see cref="BuildTaskConfiguration"/>.</param>
        /// <param name="artifactsConfiguration">Current <see cref="ArtifactsConfiguration"/>.</param>
        public void CreateProxies(IEnumerable <Type> artifacts, BuildTaskConfiguration configuration, ArtifactsConfiguration artifactsConfiguration)
        {
            var builder = new ProxiesBuilder(_templateLoader, artifacts, _artifactTypes, _buildMessages);

            builder.GenerateProxies(artifactsConfiguration, configuration);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates the proxies given a list of artifacts and configurations
        /// </summary>
        /// <param name="artifacts"></param>
        /// <param name="parsingResults"></param>
        /// <param name="artifactsConfiguration"></param>
        public void CreateProxies(Type[] artifacts, ArgumentsParsingResult parsingResults, ArtifactsConfiguration artifactsConfiguration)
        {
            var builder = new ProxiesBuilder(_templateLoader, artifacts, _artifactTypes, _logger);

            builder.GenerateProxies(artifactsConfiguration, parsingResults);
        }