public bool IsUnBoilable (IBoilProvider provider) { if (Depends.Length == 0) return true; foreach (int id in Depends) if (! (provider.Contains (id))) return false; return true; }
public bool IsUnBoilable(IBoilProvider provider) { if (Depends.Length == 0) { return(true); } foreach (int id in Depends) { if (!(provider.Contains(id))) { return(false); } } return(true); }