17 references to s_frames
System.Windows.Forms.UI.IntegrationTests (17)
Infra\ScreenRecordService.cs (17)
126
lock (
s_frames
)
128
if (
s_frames
.Count == 0)
136
lock (
s_frames
)
138
if (
s_frames
.Count < 2)
144
frames = [..
s_frames
];
217
lock (
s_frames
)
219
s_frames
.ForEach(frame => frame.image.Dispose());
220
s_frames
.Clear();
221
s_frames
.Add((elapsed, image));
226
lock (
s_frames
)
228
s_frames
.ForEach(frame => frame.image.Dispose());
229
s_frames
.Clear();
599
lock (
s_frames
)
602
if (
s_frames
.Count > 0 && (s_timer.Elapsed -
s_frames
[^1].elapsed) < throttle)
619
lock (
s_frames
)
621
s_frames
.Add((elapsed, image));