예제 #1
0
    public override int GetHashCode()
    {
        int hash = 23;

        hash = hash * 59 + (Destination == null ? 0 : Destination.GetHashCode());
        hash = hash * 59 + (Source_IP == null ? 0 : Source_IP.GetHashCode());
        hash = hash * 59 + (Domain_Controller == null ? 0 : Domain_Controller.GetHashCode());
        hash = hash * 59 + DateTime.GetHashCode();
        return(hash);
    }
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17;
         hash = hash * 23 + Destination.GetHashCode();
         hash = hash * 23 + Source_IP;
         hash = hash * 23 + Domain_Controller.GetHashCode();
         hash = hash * 23 + DateTime.GetHashCode();
         return(hash);
     }
 }