public SearchInterfaceDataBuilder SetSustainabilityRanking(int sustainabilityRanking) { if (ManusquareUtility.InRange(sustainabilityRanking, 0, 100)) { this.sustainabilityRanking = sustainabilityRanking; return(this); } throw new ArgumentException("Sustainability ranking can only be from 0 to 100"); }
public SearchInterfaceDataBuilder SetProfileRankingImportance(int profileRankingImportance) { if (ManusquareUtility.InRange(profileRankingImportance, 0, 100)) { this.profileRankingImportance = profileRankingImportance; return(this); } throw new ArgumentException("Profile ranking can only be from 0 to 100"); }
public SearchInterfaceDataBuilder SetOnTimeDeliveryImportance(int onTimeDeliveryImportance) { if (!ManusquareUtility.InRange(onTimeDeliveryImportance, 0, 5)) { throw new ArgumentException("On time delivery importance must be from 0 to 5"); } this.onTimeDeliveryImportance = onTimeDeliveryImportance; return(this); }
public SearchInterfaceDataBuilder SetCommunicationAndCollaberationEffectivenessImportance(int communicationAndCollaberationEffectivenessImportance) { if (!ManusquareUtility.InRange(communicationAndCollaberationEffectivenessImportance, 0, 5)) { throw new ArgumentException("Communication and collaboration importance must be from 0 to 5"); } this.communicationAndCollaberationEffectivenessImportance = communicationAndCollaberationEffectivenessImportance; return(this); }
private int priceRange; // TODO: CONSIDER CLASSIFY YO public SearchInterfaceDataBuilder SetQualityOfProjectResultsImportance(int qualityOfProjectResultsImportance) { if (!ManusquareUtility.InRange(qualityOfProjectResultsImportance, 0, 5)) { throw new ArgumentException("Quality of project result importance must be from 0 to 5"); } this.qualityOfProjectResultsImportance = qualityOfProjectResultsImportance; return(this); }