/// <summary>
        /// Initializes a new instance of the <see cref="IccScreeningTagDataEntry"/> class.
        /// </summary>
        /// <param name="flags">Screening flags</param>
        /// <param name="channels">Channel information</param>
        /// <param name="tagSignature">Tag Signature</param>
        public IccScreeningTagDataEntry(IccScreeningFlag flags, IccScreeningChannel[] channels, IccProfileTag tagSignature)
            : base(IccTypeSignature.Screening, tagSignature)
        {
            Guard.NotNull(channels, nameof(channels));

            this.Flags    = flags;
            this.Channels = channels;
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IccScreeningTagDataEntry"/> class.
 /// </summary>
 /// <param name="flags">Screening flags</param>
 /// <param name="channels">Channel information</param>
 /// <param name="tagSignature">Tag Signature</param>
 public IccScreeningTagDataEntry(IccScreeningFlag flags, IccScreeningChannel[] channels, IccProfileTag tagSignature)
     : base(IccTypeSignature.Screening, tagSignature)
 {
     this.Flags    = flags;
     this.Channels = channels ?? throw new ArgumentNullException(nameof(channels));
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IccScreeningTagDataEntry"/> class.
 /// </summary>
 /// <param name="flags">Screening flags</param>
 /// <param name="channels">Channel information</param>
 public IccScreeningTagDataEntry(IccScreeningFlag flags, IccScreeningChannel[] channels)
     : this(flags, channels, IccProfileTag.Unknown)
 {
 }