protected override bool IsEquivalent(Cell other, Fingerprint fingerprint) { if (!base.IsEquivalent(other, fingerprint)) { return(false); } LinkSessionDisconnected o = (LinkSessionDisconnected)other; var touched = new Capo <bool>(fingerprint, tag.Offset); if (touched[0]) { if (linkName_ != o.linkName_) { return(false); } } if (touched[1]) { if (handle_ != o.handle_) { return(false); } } if (touched[2]) { if (context_ != o.context_) { return(false); } } return(true); }
protected override bool EqualsTo(Cell other) { if (!base.EqualsTo(other)) { return(false); } LinkSessionDisconnected o = (LinkSessionDisconnected)other; if (linkName_ != o.linkName_) { return(false); } if (handle_ != o.handle_) { return(false); } if (context_ != o.context_) { return(false); } return(true); }
// LinkSessionDisconnected event handler private void OnLinkSessionDisconnected(LinkSessionDisconnected e) { OnSessionDisconnected(e.Handle, e.Context); }