public ReadmeGenerator(
     [NotNull] IGenerateOptions options,
     [NotNull] IPathService pathService,
     [NotNull] IBuildPathProvider buildPathProvider)
 {
     _options           = options ?? throw new ArgumentNullException(nameof(options));
     _pathService       = pathService ?? throw new ArgumentNullException(nameof(pathService));
     _buildPathProvider = buildPathProvider ?? throw new ArgumentNullException(nameof(buildPathProvider));
 }
 public ScriptsGenerator(
     [NotNull] IGenerateOptions options,
     [NotNull] IPathService pathService,
     [NotNull] IScriptGenerator scriptGenerator)
 {
     _options         = options ?? throw new ArgumentNullException(nameof(options));
     _pathService     = pathService ?? throw new ArgumentNullException(nameof(pathService));
     _scriptGenerator = scriptGenerator ?? throw new ArgumentNullException(nameof(scriptGenerator));
 }
Esempio n. 3
0
 public TeamCityKotlinSettingsGenerator(
     [NotNull] IGenerateOptions options,
     [NotNull] IFactory <IEnumerable <IGraph <IArtifact, Dependency> >, IGraph <IArtifact, Dependency> > buildGraphsFactory,
     [NotNull] IPathService pathService,
     [NotNull] IBuildPathProvider buildPathProvider,
     [NotNull] IFactory <NodesDescription, IEnumerable <INode <IArtifact> > > nodesDescriptionFactory)
 {
     _options                  = options ?? throw new ArgumentNullException(nameof(options));
     _buildGraphsFactory       = buildGraphsFactory ?? throw new ArgumentNullException(nameof(buildGraphsFactory));
     _pathService              = pathService ?? throw new ArgumentNullException(nameof(pathService));
     _buildPathProvider        = buildPathProvider ?? throw new ArgumentNullException(nameof(buildPathProvider));
     _nodesDescriptionsFactory = nodesDescriptionFactory ?? throw new ArgumentNullException(nameof(nodesDescriptionFactory));
 }