/// <summary> /// Construct an event argument object for when a spot is added to a break. /// </summary> /// <param name="productExternalReference"> </param> /// <param name="isSponsor"> </param> /// <param name="productAdvertiserIdentifier"></param> /// <param name="productClashCode"> </param> /// <param name="competitorType"> </param> /// <param name="sponsorshipApplicability"> /// Will be <see langword="null"/> if the spot is for a sponsor. /// </param> /// <param name="restrictionType"> </param> protected AddedSpotToBreakEventArgs( BreakExternalReference breakExternalReference, ProductExternalReference productExternalReference, bool isSponsor, string productAdvertiserIdentifier, string productClashCode, SponsorshipCompetitorType competitorType, SponsorshipApplicability sponsorshipApplicability, SponsorshipCalculationType calculationType, (SponsorshipRestrictionType type, Duration duration) restrictionType)
public SpotToSponsorshipRelationship( bool isSponsorSpot, SponsorshipApplicability applicability, SponsorshipCompetitorType competitorType, SponsorshipRestrictionType restrictionType, SponsorshipCalculationType calculationType) { IsSponsorSpot = isSponsorSpot; Applicability = applicability; CompetitorType = competitorType; RestrictionType = restrictionType; CalculationType = calculationType; }
public AddedCompetitorSpotCountToBreakEventArgs( BreakExternalReference breakExternalReference, ProductExternalReference productExternalReference, string productAdvertiserIdentifier, string productClashCode, SponsorshipCompetitorType competitorType, SponsorshipApplicability sponsorshipApplicability, SponsorshipCalculationType calculationType) : base( breakExternalReference, productExternalReference, isSponsor: false, productAdvertiserIdentifier, productClashCode, competitorType, sponsorshipApplicability, calculationType, (SponsorshipRestrictionType.SpotCount, Duration.Zero))
public void Deconstruct(out bool isSponsorSpot, out SponsorshipApplicability applicability, out SponsorshipCompetitorType competitorType, out SponsorshipRestrictionType restrictionType, out SponsorshipCalculationType calculationType) { isSponsorSpot = IsSponsorSpot; applicability = Applicability; competitorType = CompetitorType; restrictionType = RestrictionType; calculationType = CalculationType; }