public async Task HandleAsync(DisplayInventoryEvent message, CancellationToken cancellationToken) { await ActivateItemAsync(IoC.Get <DisplayInventoryViewModel>(), cancellationToken); }
public void Handle(DisplayInventoryEvent message) { ActivateItem(IoC.Get <DisplayInventoryViewModel>()); }