public Camera(string deviceName, IVideoSource videoSource, VideoStore videoStore) { this.deviceName = deviceName; this.lastFrameTime = DateTime.MinValue; this.video = new Video(videoStore); this.videoSource = videoSource; this.videoSource.NewFrame += new NewFrameEventHandler(videoSource_NewFrame); }
public Video(VideoStore store) { this.store = store; this.currentStoreName = string.Empty; }