Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            var conversation = obj as Conversation;

            if (conversation == null)
            {
                return(false);
            }

            return(CID.Equals(conversation.CID));
        }
Exemplo n.º 2
0
        public override bool Equals(object paramObject)
        {
            if (!(paramObject is LicenseRowItem))
            {
                return(false);
            }
            if (paramObject == this)
            {
                return(true);
            }
            LicenseRowItem licenseRowItem = (LicenseRowItem)paramObject;
            bool           @bool          = false;

            if (CheckedIn == licenseRowItem.CheckedIn && CID.Equals(licenseRowItem.CID, StringComparison.OrdinalIgnoreCase) && Userid.Equals(licenseRowItem.Userid, StringComparison.OrdinalIgnoreCase) && CheckedInDate.Equals(licenseRowItem.CheckedInDate) && ExpDate.Equals(licenseRowItem.ExpDate))
            {
                @bool = true;
            }
            return(@bool && hasSamePlugins(licenseRowItem));
        }