using System; using System.Collections.Generic; using System.Linq; namespace BililiveRecorder.Flv.Pipeline.Actions { public class PipelineLogAlternativeHeaderAction : PipelineAction { public IReadOnlyList Tags { get; set; } public PipelineLogAlternativeHeaderAction(IReadOnlyList tags) { this.Tags = tags ?? throw new ArgumentNullException(nameof(tags)); } public override PipelineAction Clone() => new PipelineLogAlternativeHeaderAction(this.Tags.ToArray()); } }