BililiveRecorder/BililiveRecorder.Flv/Pipeline/Actions/PipelineScriptAction.cs

17 lines
400 B
C#
Raw Normal View History

2021-02-08 16:51:19 +08:00
using System;
namespace BililiveRecorder.Flv.Pipeline.Actions
2021-02-08 16:51:19 +08:00
{
public class PipelineScriptAction : PipelineAction
{
public PipelineScriptAction(Tag tag)
{
this.Tag = tag ?? throw new ArgumentNullException(nameof(tag));
}
public Tag Tag { get; set; }
public override PipelineAction Clone() => new PipelineScriptAction(this.Tag);
}
}