Пример #1
0
        public bool Equals(TagId p)
        {
            if ((object)p == null)
            {
                return(false);
            }

            return((TagName == p.TagName) && (PollerId == p.PollerId));
        }
Пример #2
0
        public override bool Equals(System.Object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            TagId p = obj as TagId;

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

            return((TagName == p.TagName) && (PollerId == p.PollerId));
        }