Update Safe Exam Browser Patch to 3.10.0.826

This commit is contained in:
2025-09-16 16:32:31 +02:00
parent 4827ae1afc
commit dd82d45ed8
320 changed files with 8445 additions and 5295 deletions

View File

@@ -19,34 +19,11 @@ namespace SafeExamBrowser.Core.Operations
/// </summary>
public class LazyInitializationOperation : IOperation
{
private Func<IOperation> initialize;
private readonly Func<IOperation> initialize;
private IOperation operation;
private event ActionRequiredEventHandler ActionRequiredImpl;
private event StatusChangedEventHandler StatusChangedImpl;
public event ActionRequiredEventHandler ActionRequired
{
add
{
ActionRequiredImpl += value;
if (operation != null)
{
operation.ActionRequired += value;
}
}
remove
{
ActionRequiredImpl -= value;
if (operation != null)
{
operation.ActionRequired -= value;
}
}
}
public event StatusChangedEventHandler StatusChanged
{
add
@@ -77,7 +54,6 @@ namespace SafeExamBrowser.Core.Operations
public OperationResult Perform()
{
operation = initialize.Invoke();
operation.ActionRequired += ActionRequiredImpl;
operation.StatusChanged += StatusChangedImpl;
return operation.Perform();