コード例 #1
0
 /// <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)
 {
 }
コード例 #2
0
ファイル: WindowCapture.cs プロジェクト: yusharth/psi
 /// <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)
 {
 }