BililiveRecorder/BililiveRecorder.Flv/Pipeline/Actions/PipelineDisconnectAction.cs

15 lines
394 B
C#
Raw Normal View History

namespace BililiveRecorder.Flv.Pipeline.Actions
2021-02-08 16:51:19 +08:00
{
public class PipelineDisconnectAction : PipelineAction
{
public string Reason { get; set; } = string.Empty;
2021-02-08 16:51:19 +08:00
public PipelineDisconnectAction(string reason)
{
this.Reason = reason;
}
public override PipelineAction Clone() => new PipelineDisconnectAction(reason: this.Reason);
2021-02-08 16:51:19 +08:00
}
}