clean postbuild script

clean warnings
This commit is contained in:
Alex Bezdieniezhnykh
2025-04-28 10:20:06 +03:00
parent 47aa8b862b
commit babcbc0fc7
12 changed files with 56 additions and 51 deletions
@@ -109,9 +109,9 @@ public class DatasetExplorerEventHandler(
}
}
public async Task Handle(AnnotationCreatedEvent notification, CancellationToken cancellationToken)
public Task Handle(AnnotationCreatedEvent notification, CancellationToken cancellationToken)
{
datasetExplorer.Dispatcher.Invoke(async () =>
datasetExplorer.Dispatcher.Invoke(() =>
{
var annotation = notification.Annotation;
var selectedClass = datasetExplorer.LvClasses.CurrentClassNumber;
@@ -133,6 +133,7 @@ public class DatasetExplorerEventHandler(
datasetExplorer.SelectedAnnotationDict.Add(annThumb.Annotation.Name, annThumb);
}
});
return Task.CompletedTask;
}
public async Task Handle(AnnotationsDeletedEvent notification, CancellationToken cancellationToken)