public void Add(string item) { if (item == null) { throw new ArgumentNullException(nameof(item)); } _state.Add(this, item); }
private void ExecuteCreate(ICreator creator, CreateAction create) { if (!creator.CanCreate(create)) { return; } var obj = creator.Create(create); State.Add(obj); }
public void Add(ITuple tuple) { AddDelay(); currentState.Add(tuple); }
public static void SetActiveState(this IState <IPipeline> state, IThreadState activeState) { state.Add(StateKeys.ActiveState, activeState); }
public static void SetDurationToIgnoreOnFailure(this IState <IPipeline> state, TimeSpan[] timeSpans) { state.Add(StateKeys.DurationToIgnoreOnFailure, timeSpans); }
public static void SetMaximumFailureCount(this IState <IPipeline> state, int count) { state.Add(StateKeys.MaximumFailureCount, count); }
public static void SetErrorQueue(this IState <IPipeline> state, IQueue queue) { state.Add(StateKeys.ErrorQueue, queue); }
public static void SetDeferredQueue(this IState <IPipeline> state, IQueue queue) { state.Add(StateKeys.DeferredQueue, queue); }
public static void SetWorkQueue(this IState state, IQueue queue) { state.Add(StateKeys.WorkQueue, queue); }
public void Add(ITuple tuple) { currentState.Add(tuple); }