BililiveRecorder/BililiveRecorder.Flv/Pipeline/PipelineDataAction.cs

18 lines
453 B
C#
Raw Normal View History

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