protected BuildReference(BuildReferenceType type) { this.Type = type; this.name = string.Empty; this.version = new Version(0, 0, 0, 0); this.hintPath = string.Empty; }
public ReadOnlySettingsModel(string chosenPath, bool genUserWithTemp, bool genUserExisting, bool setManDefaults, bool copyToPending, BuildReferenceType buildReferenceType, string manifest_Author, string manifest_Donation, bool manifest_AuthorEnabled, bool manifest_DonationEnabled) { ChosenInstallPath = chosenPath; GenerateUserFileWithTemplate = genUserWithTemp; GenerateUserFileOnExisting = genUserExisting; SetManifestJsonDefaults = setManDefaults; CopyToIPAPendingOnBuild = copyToPending; BuildReferenceType = buildReferenceType; Manifest_Author = manifest_Author; Manifest_Donation = manifest_Donation; Manifest_AuthorEnabled = manifest_AuthorEnabled; Manifest_DonationEnabled = manifest_DonationEnabled; }
public override int GetHashCode() { int hashCode = 57113324; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ChosenInstallPath); hashCode = hashCode * -1521134295 + GenerateUserFileWithTemplate.GetHashCode(); hashCode = hashCode * -1521134295 + GenerateUserFileOnExisting.GetHashCode(); hashCode = hashCode * -1521134295 + SetManifestJsonDefaults.GetHashCode(); hashCode = hashCode * -1521134295 + CopyToIPAPendingOnBuild.GetHashCode(); hashCode = hashCode * -1521134295 + BuildReferenceType.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Manifest_Author); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Manifest_Donation); hashCode = hashCode * -1521134295 + Manifest_AuthorEnabled.GetHashCode(); hashCode = hashCode * -1521134295 + Manifest_DonationEnabled.GetHashCode(); return(hashCode); }