/// <summary>
        /// Adds the provided descriptor to the builder.
        /// </summary>
        /// <param name="builder">The builder to add to, not null.</param>
        /// <param name="descriptor">The descriptor to add.</param>
        /// <returns>This instance, for chaining calls.</returns>
        public static ITaskHubWorkerBuilder AddOrchestration(
            this ITaskHubWorkerBuilder builder, TaskOrchestrationDescriptor descriptor)
        {
            Check.NotNull(builder, nameof(builder));
            Check.NotNull(descriptor, nameof(descriptor));

            builder.Orchestrations.Add(descriptor);
            return(builder);
        }
 /// <inheritdoc />
 public ITaskHubWorkerBuilder AddOrchestration(TaskOrchestrationDescriptor descriptor)
 {
     Check.NotNull(descriptor, nameof(descriptor));
     _orchestrations.Add(descriptor);
     return(this);
 }