2021-02-08 16:51:19 +08:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2021-04-29 23:51:06 +08:00
|
|
|
namespace BililiveRecorder.Flv.Pipeline.Actions
|
2021-02-08 16:51:19 +08:00
|
|
|
{
|
|
|
|
public class PipelineDataAction : PipelineAction
|
|
|
|
{
|
2021-04-29 23:51:06 +08:00
|
|
|
public PipelineDataAction(IReadOnlyList<Tag> tags)
|
2021-02-08 16:51:19 +08:00
|
|
|
{
|
|
|
|
this.Tags = tags ?? throw new ArgumentNullException(nameof(tags));
|
|
|
|
}
|
|
|
|
|
2021-04-29 23:51:06 +08:00
|
|
|
public IReadOnlyList<Tag> Tags { get; set; }
|
2021-02-08 16:51:19 +08:00
|
|
|
|
|
|
|
public override PipelineAction Clone() => new PipelineDataAction(new List<Tag>(this.Tags));
|
|
|
|
}
|
|
|
|
}
|