public override bool Equals(object obj)
{
if (ReferenceEquals(obj, this))
{
return true;
}
if (obj is SimpleAccount)
{
var account = (SimpleAccount) obj;
return (Principals == null ? account.Principals == null : Principals.Equals(account.Principals));
}
return false;
}