add equals method for ResourceInfo,used by ShareServiceApp