BililiveRecorder/BililiveRecorder.Flv/Pipeline/PipelineDataAction.cs
2021-02-08 16:51:19 +08:00

18 lines
455 B
C#

using System;
using System.Collections.Generic;
namespace BililiveRecorder.Flv.Pipeline
{
public class PipelineDataAction : PipelineAction
{
public PipelineDataAction(IList<Tag> tags)
{
this.Tags = tags ?? throw new ArgumentNullException(nameof(tags));
}
public IList<Tag> Tags { get; set; }
public override PipelineAction Clone() => new PipelineDataAction(new List<Tag>(this.Tags));
}
}