We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9b1ad commit abfb168Copy full SHA for abfb168
src/Core/Shared/DIToolkitPackage.cs
@@ -54,6 +54,8 @@ protected override async Task InitializeAsync(CancellationToken cancellationToke
54
.Where(x => typeof(BaseDICommand).IsAssignableFrom(x.ImplementationType))
55
.ToList();
56
57
+ await JoinableTaskFactory.SwitchToMainThreadAsync();
58
+
59
foreach (var command in commands)
60
{
61
var baseCommandTypeGeneric = typeof(CommandWrapper<>).MakeGenericType(command.ImplementationType);
0 commit comments