Exemple #1
0
        public override bool Equals(object obj)
        {
            GateAddress other = obj as GateAddress;

            if (obj == null)
            {
                return(false);
            }
            return(Gate.Equals(other.Gate) && Port == other.Port);
        }
Exemple #2
0
 static internal string Render(this GateAddress addr)
 {
     return((addr == null) ? "null" : addr.ToString());
 }