コード例 #1
0
ファイル: Plant.cs プロジェクト: jahangmar/GardenPlanner
 public override bool CheckIncompatiblePlants(string plantID)
 {
     return(this.ID.Equals(plantID) || IncompatiblePlants.Contains(plantID) || GetFamily().IncompatiblePlants.Contains(plantID));
 }
コード例 #2
0
 public override bool CheckIncompatiblePlants(string plantID)
 {
     return(IncompatiblePlants.Contains(plantID));
 }