コード例 #1
0
        public override bool Equals(BulkEntityIdentifier other)
        {
            var otherSiteLinkIdentity = other as SiteLinkAdExtensionIdentifier;

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

            return(AccountId == otherSiteLinkIdentity.AccountId &&
                   AdExtensionId == otherSiteLinkIdentity.AdExtensionId);
        }
        /// <summary>
        /// Reserved for internal use.
        /// </summary>
        public override bool Equals(BulkEntityIdentifier other)
        {
            var otherIdentifier = other as BulkCampaignNegativeSitesIdentifier;

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

            var isNameNotEmpty = !string.IsNullOrEmpty(CampaignName);

            return(CampaignId == otherIdentifier.CampaignId ||
                   (isNameNotEmpty && CampaignName == otherIdentifier.CampaignName));
        }
コード例 #3
0
 public override bool Equals(BulkEntityIdentifier other)
 {
     throw new System.NotImplementedException();
 }