public TsProgramAssociationTableFactory(ITsProgramMapTableFactory programMapTableFactory) { if (null == programMapTableFactory) { throw new ArgumentNullException("programMapTableFactory"); } this._programMapTableFactory = programMapTableFactory; }
public TsProgramAssociationTable(ITsDecoder decoder, ITsProgramMapTableFactory programMapTableFactory, Func <int, bool> programFilter, Action <IProgramStreams> streamFilter) : base(TsProgramSpecificInformation.TsTableId.program_association_section) { if (null == decoder) { throw new ArgumentNullException("decoder"); } if (null == programMapTableFactory) { throw new ArgumentNullException("programMapTableFactory"); } this._decoder = decoder; this._programMapTableFactory = programMapTableFactory; this._programFilter = programFilter; this._streamFilter = streamFilter; }