コード例 #1
0
 public bool Equals(LastTimeLookedAt other)
 {
     if (other == null)
     {
         return(false);
     }
     return(this.Who.Equals(other.Who));
 }
コード例 #2
0
    public override bool Equals(System.Object obj)
    {
        if (obj == null)
        {
            return(false);
        }
        LastTimeLookedAt c = obj as LastTimeLookedAt;

        if ((System.Object)c == null)
        {
            return(false);
        }
        return(Who == c.Who);
    }