Пример #1
0
 public PackageManifestBuilder()
 {
     Id            = new ManifestAttribute <string>();
     Name          = new ManifestAttribute <string>(v => CapitalLettersCount(v));
     Version       = new ManifestAttribute <string>(v => PeriodCount(v));
     Home          = new ManifestAttribute <string>();
     Repo          = new ManifestAttribute <string>();
     License       = new ManifestAttribute <string>();
     InstallMethod = new ManifestAttribute <InstallMethodTypes>();
     Args          = new ManifestAttribute <InstallArgs>();
     Installers    = new List <InstallerBuilder>();
 }
Пример #2
0
 public InstallerBuilder()
 {
     Architecture      = new ManifestAttribute <ArchitectureTypes>();
     MinWindowsVersion = new ManifestAttribute <Version>();
 }