public bool NeedsMajorUpversioning(License license) { // Any license type or text changes require upversioning. return(this.LicenseType != license.LicenseType || !this.LicenseText.Equals(license.LicenseText, StringComparison.InvariantCultureIgnoreCase)); }
public NapackVersion(int major, int minor, int patch, List <string> authors, Dictionary <string, NapackFile> files, License license, List <NapackMajorVersion> depedencies) { this.Major = major; this.Minor = minor; this.Patch = patch; this.Authors = authors; this.Files = files; this.License = license; this.Dependencies = depedencies; }