コード例 #1
0
 public bool DeepEquals(InventoryItemPlugBlockEnergyCapacity other)
 {
     return(other != null &&
            CapacityValue == other.CapacityValue &&
            EnergyType.DeepEquals(other.EnergyType) &&
            EnergyTypeEnumValue == other.EnergyTypeEnumValue);
 }
 public bool DeepEquals(InventoryItemPlugBlockEnergyCost other)
 {
     return(other != null &&
            EnergyCost == other.EnergyCost &&
            EnergyType.DeepEquals(other.EnergyType) &&
            EnergyTypeEnumValue == other.EnergyTypeEnumValue);
 }