You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected async Task ExecuteAsync(OleMenuCmdEventArgs e)
{
using var scope = this._serviceProvider.CreateScope();
BaseDICommand instance = (BaseDICommand)scope.ServiceProvider.GetRequiredService(typeof(T));
Task executeAsyncTask = (Task)_executeAsyncMethod.Invoke(instance, new object[] { e });
await executeAsyncTask;
}
The OleMenuCommand will Invoke the CommandWapper Execute method. This will invoke the BaseCommand Execute which will invoke the BaseCommand ExecuteAsync if not overridden.
The text was updated successfully, but these errors were encountered:
Community.VisualStudio.Toolkit.DependencyInjection/src/Core/Shared/CommandWrapper.cs
Line 62 in 639e834
The OleMenuCommand will Invoke the CommandWapper Execute method. This will invoke the BaseCommand Execute which will invoke the BaseCommand ExecuteAsync if not overridden.
The text was updated successfully, but these errors were encountered: