Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. public abstract class DynamicHub : Hub
  2. {
  3. private DynamicHubClients _clients;
  4.  
  5. /// <summary>
  6. /// Gets or sets an object that can be used to invoke methods on the clients connected to this hub.
  7. /// </summary>
  8. public new DynamicHubClients Clients
  9. {
  10. get
  11. {
  12. if (_clients == null)
  13. {
  14. _clients = new DynamicHubClients(base.Clients);
  15. }
  16.  
  17. return _clients;
  18. }
  19. set => _clients = value;
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement