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