Пример #1
0
        public ProjectBuildContext(
            [NotNull] TemplateInfo template,
            [NotNull] TemplateFile templateFile,
            [NotNull] ProjectBuildArgs buildArgs)
        {
            Template     = Check.NotNull(template, nameof(template));
            TemplateFile = Check.NotNull(templateFile, nameof(templateFile));
            BuildArgs    = Check.NotNull(buildArgs, nameof(buildArgs));

            Result = new ProjectResult();
        }
Пример #2
0
        public ProjectBuildContext([NotNull] TemplateInfo template,
                                   [NotNull] TemplateFile templateFile,
                                   [NotNull] ProjectBuildArgs buildArgs,
                                   [NotNull] string version)
        {
            Template     = Check.NotNull(template, nameof(template));
            TemplateFile = Check.NotNull(templateFile, nameof(templateFile));
            BuildArgs    = Check.NotNull(buildArgs, nameof(buildArgs));
            Version      = Check.NotNullOrWhiteSpace(version, nameof(version));

            Result = new ProjectResult();
        }
Пример #3
0
        }                                    //TODO: Fill the symbols, like "UI-Angular", "CMS-KIT"!

        public ProjectBuildContext(
            TemplateInfo template,
            ModuleInfo module,
            NugetPackageInfo package,
            [NotNull] TemplateFile templateFile,
            [NotNull] ProjectBuildArgs buildArgs)
        {
            Template     = template;
            Module       = module;
            Package      = package;
            TemplateFile = Check.NotNull(templateFile, nameof(templateFile));
            BuildArgs    = Check.NotNull(buildArgs, nameof(buildArgs));
            Symbols      = new List <string>();

            Result = new ProjectResult();
        }