Microsoft.AspNetCore.SignalR.GroupManager.GroupManager C# (CSharp) Méthode

GroupManager() public méthode

Initializes a new instance of the GroupManager class.
public GroupManager ( IConnection connection, string groupPrefix ) : System
connection IConnection The this group resides on.
groupPrefix string The prefix for this group. Either a name or type name.
Résultat System
        public GroupManager(IConnection connection, string groupPrefix)
        {
            if (connection == null)
            {
                throw new ArgumentNullException("connection");
            }

            _connection = connection;
            _groupPrefix = groupPrefix;
        }