How do you add dependency injection in Blazor? ... Use the @inject directive to inject the service into components. @inject has two parameters (type and name).
確定! 回上一頁