OD
(Choose 1 answer)
Choose the correct option to create hub filters.
A. Create a filter by declaring a class that inherits from Hub<IHubFilter>, and add the OnConnectedAsync method.
B. Create a filter by declaring a class that inherits from IFilter, and add the InvokeMethodAsync method.
C. Create a filter by declaring a class that inherits from IHubFilter, and add the InvokeMethodAsync method.
D. Create a filter by declaring a class that inherits from Hub<IFilter>. and add the OnConnectedAsync method.
Exit 3