/// <summary> /// Initializes a new instance of the <see cref="Command"/> class. /// </summary> /// <param name="runtimes">The Runtime locator to find a Runtime to connect to.</param> /// <param name="jsonSerializer">The json <see cref="ISerializer"/>.</param> public Command(ICanLocateRuntimes runtimes, IResolveEventHandlerId eventHandlerIdResolver, IDiscoverEventTypes eventTypesDiscoverer, ISerializer jsonSerializer) : base(runtimes, eventHandlerIdResolver, eventTypesDiscoverer, jsonSerializer) { }
/// <summary> /// Initializes a new instance of the <see cref="Command"/> class. /// </summary> /// <param name="runtimes">The Runtime locator to find a Runtime to connect to.</param> /// <param name="client">The management client to use.</param> /// <param name="serializer">The json <see cref="ISerializer"/>.</param> public Command(ICanLocateRuntimes runtimes, IManagementClient client, IResolveEventHandlerId eventHandlerIdResolver, IDiscoverEventTypes eventTypesDiscoverer, ISerializer serializer) : base(runtimes, eventHandlerIdResolver, eventTypesDiscoverer, serializer) { _client = client; }
/// <summary> /// Initializes a new instance of the <see cref="CommandBase"/> class. /// </summary> /// <param name="runtimes">The Runtime locator to find a Runtime to connect to.</param> /// <param name="eventHandlerIdResolver">The Event Handler Id resolver.</param> /// <param name="jsonSerializer">The json <see cref="ISerializer"/>.</param> protected CommandBase(ICanLocateRuntimes runtimes, IResolveEventHandlerId eventHandlerIdResolver, IDiscoverEventTypes eventTypesDiscoverer, ISerializer jsonSerializer) : base(runtimes, eventTypesDiscoverer, jsonSerializer) { _eventHandlerIdResolver = eventHandlerIdResolver; }