mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 19:57:27 +08:00
19 lines
533 B
C#
19 lines
533 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace BililiveRecorder.Flv.Pipeline
|
|
{
|
|
public class PipelineLogAlternativeHeaderAction : PipelineAction
|
|
{
|
|
public IReadOnlyList<Tag> Tags { get; set; }
|
|
|
|
public PipelineLogAlternativeHeaderAction(IReadOnlyList<Tag> tags)
|
|
{
|
|
this.Tags = tags ?? throw new ArgumentNullException(nameof(tags));
|
|
}
|
|
|
|
public override PipelineAction Clone() => new PipelineLogAlternativeHeaderAction(this.Tags.ToArray());
|
|
}
|
|
}
|