I'm not sure what you mean exactly, but if ImapView is a registered service in your app, you can inject it into a component using the @inject directive. https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/dependency-injection?view=aspnetcore-5.0&pivots=webassembly#request-a-service-in-a-component-1
Posted 2 years ago
by selliott