To get the "String" of the
Uri of the
ImageSource, just call
.ToString().
So, to be perfectly paranoid, to compare the Uri of two ImageSource objects would be like this:
if (0 == String.Compare(
imageSource1.ToString(),
imageSource2.ToString(),
StringComparison.OrdinalIgnoreCase))
{
...
}