public SequenceBuilder Append(FluentVP vp, TimeSpan delay) { IEnumerable <Command> commands = vp.actionBuilder.Build()?.Adone?.Commands; if (commands is null) { return(this); } Frame frame = new Frame(this.sequence) { Delay = delay }; foreach (Command command in commands) { frame.Commands.Add(command); } this.sequence.Frames.Add(frame); return(this); }
public SequenceBuilder Append(FluentVP vp, double delay) { return(this.Append(vp, TimeSpan.FromMilliseconds(delay))); }