protected override bool derivedCompare(DLink pLinkA, DLink pLinkB) { //This is called by baseFind Debug.Assert(pLinkA != null); Debug.Assert(pLinkB != null); //Cast to type Texture pTA = (Texture)pLinkA; Texture pTB = (Texture)pLinkB; // result of comparison, expression results a bool return(pTA.GetName() == pTB.GetName()); }
override protected bool DerivedCompareNode(DLink pLinkA, DLink pLinkB) { Debug.Assert(pLinkA != null); Debug.Assert(pLinkB != null); Texture pDataA = (Texture)pLinkA; Texture pDataB = (Texture)pLinkB; bool status = false; if (pDataA.GetName() == pDataB.GetName()) { status = true; } return(status); }
protected override bool DerivedCompare(DLink pDLink1, DLink pDLink2) { Debug.Assert(pDLink1 != null); Debug.Assert(pDLink2 != null); Texture pTNode1 = (Texture)pDLink1; Texture pTNode2 = (Texture)pDLink2; Boolean status = false; if (pTNode1.GetName() == pTNode2.GetName()) { status = true; } return(status); }
override protected Boolean DerivedCompare(DLink pLinkA, DLink pLinkB) { // This is used in baseFind() Debug.Assert(pLinkA != null); Debug.Assert(pLinkB != null); Texture pDataA = (Texture)pLinkA; Texture pDataB = (Texture)pLinkB; Boolean status = false; if (pDataA.GetName() == pDataB.GetName()) { status = true; } return(status); }