コード例 #1
0
        private void SetupFactories()
        {
            _patFactory = new ProgramAssociationTableFactory();
            _patFactory.TableChangeDetected += _patFactory_TableChangeDetected;
            _pmtFactories    = new List <ProgramMapTableFactory>(16);
            ProgramMapTables = new List <ProgramMapTable>(16);

            _sdtFactory = new ServiceDescriptionTableFactory();
            _sdtFactory.TableChangeDetected += _sdtFactory_TableChangeDetected;

            _eitFactory = new EventInformationTableFactory();
            _eitFactory.TableChangeDetected += _eitFactory_TableChangeDetected;

            _nitFactory = new NetworkInformationTableFactory();
            _nitFactory.TableChangeDetected += _nitFactory_TableChangeDetected;

            _sitFactory = new SpliceInfoTableFactory();
        }