// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.SignalR { /// /// A activator abstraction. /// /// The hub type. public interface IHubActivator where THub : Hub { /// /// Creates a hub. /// /// The created hub. THub Create(); /// /// Releases the specified hub. /// /// The hub to release. void Release(THub hub); } }