protected Microservice(MicroserviceOptions <TOptions> options) { if (string.IsNullOrEmpty(options.ServiceId)) { throw new ArgumentNullException(nameof(options.ServiceId)); } Options = options; }
public MessageBusMicroservice(MicroserviceOptions <MessageBusMicroserviceOptions> options) : base(options) { }
public ApiMicroservice(MicroserviceOptions <ApiMicroserviceOptions> options) : base(options) { MessageSource = new ApiMessageSource(this); }