public static string WhyCantIRunThisTechnique(SenderTechniques.SenderTechniqueEnum technique) { if (senderTechniquesList[(int)technique].compatibilityRules.IsCompatible()) { return("Your system can run this technique."); } else { return(senderTechniquesList[(int)technique].compatibilityRules.UserMessageToMakeItCompatible()); } }
public static bool CanIRunThisTechnique(SenderTechniques.SenderTechniqueEnum technique) { // Only hide the techniques for other platforms return(senderTechniquesList[(int)technique].compatibilityRules.IsCompatible()); }