public QuarkConfigurationBuilder AddQuarkTask(IQuarkTask task)
        {
            if (task is null)
            {
                throw new ArgumentNullException(nameof(task));
            }

            this.QuarkTasks.Add(task);

            return(this);
        }
        public static QuarkConfigurationBuilder WithTask(
            this QuarkConfigurationBuilder builder,
            IQuarkTask task)
        {
            if (builder is null)
            {
                throw new ArgumentNullException(nameof(builder));
            }

            if (task is null)
            {
                throw new ArgumentNullException(nameof(task));
            }

            builder.AddQuarkTask(task);

            return(builder);
        }
Ejemplo n.º 3
0
 public Task <QuarkResult> ExecuteAsync(IQuarkExecutionContext context, IQuarkTask target)
 {
     throw new NotImplementedException();
 }