public ScreensaverViewModel(TV tv) { this.tv = tv; this.tvId = tv.Register(this); loadTv(); createTimer(); }
public static TumblrTV GetInstance(int numTvs, AppSettings settings = null) { if (TumblrTV.instance == null) { if (settings == null) { throw new ArgumentNullException("Settings cannot be null during initialization"); } TumblrTV.instance = new TumblrTV(numTvs, settings); } return(TumblrTV.instance); }