public override bool Equals(MeepMaterialType other) { if (other == null || this.GetType() != other.GetType()) { return(false); } MeepDefinedMaterial _other = other as MeepDefinedMaterial; return(this.MaterialName == _other.MaterialName); }
public override bool Equals(MeepMaterialType other) { if (other == null || this.GetType() != other.GetType()) { return(false); } MeepDirectCodingMaterial _other = other as MeepDirectCodingMaterial; return((Name == _other.Name) & (MeepCode == _other.MeepCode)); }
public override bool Equals(MeepMaterialType other) { if (other == null || this.GetType() != other.GetType()) { return(false); } MeepDielectric _other = other as MeepDielectric; return((Name == _other.Name) & (VariableName == _other.VariableName) & (Index == _other.Index) & (Mu == _other.Mu) & (Conductivity == _other.Conductivity)); }