/// <summary> /// Initializes a new instance of the <see cref="AgentsTracker"/> class. /// </summary> /// <param name="agents">The agents.</param> /// <param name="options">The options.</param> /// <param name="log">The log.</param> /// <param name="providers">The providers.</param> /// <param name="connectionProvider">The connection provider.</param> /// <param name="agentUpdater">The agent updater.</param> public AgentsTracker(AgentsCollection agents, IConnectionsHostOptions options, ILog log, IEnumerable<IAgentsProvider> providers, IConnectionProvider connectionProvider, IAgentUpdater agentUpdater) { this.agents = agents; this.options = options; this.log = log; this.providers = providers; this.connectionProvider = connectionProvider; this.agentUpdater = agentUpdater; }
/// <summary> /// Initializes a new instance of the <see cref="DiscoveryAgentsProvider"/> class. /// </summary> /// <param name="options">The options.</param> /// <param name="connectionsHostOptions">The connections host options.</param> /// <param name="log">The log.</param> public DiscoveryAgentsProvider(DiscoveryAgentsProviderOptions options, IConnectionsHostOptions connectionsHostOptions, ILog log) { this.options = options; this.connectionsHostOptions = connectionsHostOptions; this.log = log; }
/// <summary> /// Initializes a new instance of the <see cref="AnnouncementAgentsProvider"/> class. /// </summary> /// <param name="options">The options.</param> /// <param name="log">The log.</param> public AnnouncementAgentsProvider(IConnectionsHostOptions options, ILog log) { this.options = options; this.log = log; }
/// <summary> /// Initializes a new instance of the <see cref="RequestsStorage"/> class. /// </summary> /// <param name="options">The options.</param> /// <param name="log">The log.</param> public RequestsStorage(IConnectionsHostOptions options, ILog log) { }