/** * Compares for reference equality and value equality. */ public bool equals(SixByteChunk rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(rhs._otherParameters.Length == 6)) { ivarsEqual = false; } if (ivarsEqual) { for (int idx = 0; idx < 6; idx++) { if (!(_otherParameters[idx] == rhs._otherParameters[idx])) { ivarsEqual = false; } } } return(ivarsEqual); }
///<summary> ///Object appearance ///</summary> public void setObjectAppearance(SixByteChunk pObjectAppearance) { _objectAppearance = pObjectAppearance; }
///<summary> ///segment appearance ///</summary> public void setSegmentAppearance(SixByteChunk pSegmentAppearance) { _segmentAppearance = pSegmentAppearance; }
/** * Compares for reference equality and value equality. */ public bool equals(SixByteChunk rhs) { bool ivarsEqual = true; if(rhs.GetType() != this.GetType()) return false; if( ! (rhs._otherParameters.Length == 6)) ivarsEqual = false; if(ivarsEqual) { for(int idx = 0; idx < 6; idx++) { if(!(_otherParameters[idx] == rhs._otherParameters[idx])) ivarsEqual = false; } } return ivarsEqual; }