/// <summary> /// Initializes a new instance of the <see cref="WindowCapture"/> class. /// </summary> /// <param name="pipeline">The pipeline to add the component to.</param> /// <param name="configuration">Configuration values for the window capture component.</param> /// <param name="name">An optional name for the component.</param> public WindowCapture(Pipeline pipeline, WindowCaptureConfiguration configuration, string name = nameof(WindowCapture)) : this(pipeline, configuration.Interval, configuration.WindowHandle, name) { }
/// <summary> /// Initializes a new instance of the <see cref="WindowCapture"/> class. /// </summary> /// <param name="pipeline">The pipeline to add the component to.</param> /// <param name="configuration">Configuration values for the window capture component.</param> public WindowCapture(Pipeline pipeline, WindowCaptureConfiguration configuration) : this(pipeline, configuration.Interval, configuration.WindowHandle) { }