Opened 17 years ago

Closed 14 years ago

#232 closed enhancement (fixed)

MgResourceIdentifier does not implement Equals in .Net API

Reported by: jiab Owned by: jiab
Priority: medium Milestone:
Component: Web API Version:
Severity: minor Keywords:
Cc: Trevor Wekel External ID: 926866

Description

class MgResourceIdentifier does not implement Equals in .Net API

Change History (3)

comment:1 by jiab, 17 years ago

Status: newassigned

Exercise the following code:

MgResourceIdentifier x = new MgResourceIdentifier ("Library://"); MgResourceIdentifier y = new MgResourceIdentifier ("Library://"); if (x == y)

Console.WriteLine ("== works");

else

Console.WriteLine ("== doesn't work");

if (x.Equals (y))

Console.WriteLine ("Equals() works");

else

Console.WriteLine ("Equals() doesn't work");

Neither of == or Equals works, making it difficult to cycle through collections looking for a particular resource.

comment:2 by jbirch, 14 years ago

Version: 1.2.0

Removing version #. If this is fixed, please close.

comment:3 by jng, 14 years ago

Resolution: fixed
Status: assignedclosed

Somewhere back in time, this was fixed.

Note: See TracTickets for help on using tickets.