public override void Invoke() { var extension = DynamicExtension; if (extension != null) { var asyncTask = new Task(() => _invocationService.InvokeExtensionMethodAsync(extension)); asyncTask.Start(TaskScheduler.Default); } }
protected override async Task ExecuteAsync(object parameter) { await _invocationService.InvokeExtensionMethodAsync(_invokeParams); }