private static DVBS2HandlerBase createGenPixHandler(IBaseFilter tunerFilter, bool logMessage) { GenPixDVBS2Handler genPixHandler = new GenPixDVBS2Handler(tunerFilter); if (genPixHandler.DVBS2Capable) { return(genPixHandler); } if (logMessage) { Logger.Instance.Write("GenPix card is not DVB-S2 capable"); } return(null); }
private static DVBS2HandlerBase createGenPixHandler(IBaseFilter tunerFilter, bool logMessage) { GenPixDVBS2Handler genPixHandler = new GenPixDVBS2Handler(tunerFilter); if (genPixHandler.DVBS2Capable) return (genPixHandler); if (logMessage) Logger.Instance.Write("GenPix card is not DVB-S2 capable"); return (null); }