private static DVBS2HandlerBase createTBSHandler(IBaseFilter tunerFilter, Tuner tuner, bool logMessage) { TBSDVBS2Handler tbsHandler = new TBSDVBS2Handler(tunerFilter, tuner); if (tbsHandler.DVBS2Capable) { return(tbsHandler); } if (logMessage) { Logger.Instance.Write("TBS card is not DVB-S2 capable"); } return(null); }
private static DVBS2HandlerBase createTBSHandler(IBaseFilter tunerFilter, Tuner tuner, bool logMessage) { TBSDVBS2Handler tbsHandler = new TBSDVBS2Handler(tunerFilter, tuner); if (tbsHandler.DVBS2Capable) return (tbsHandler); if (logMessage) Logger.Instance.Write("TBS card is not DVB-S2 capable"); return (null); }