mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
26 lines
546 B
C#
26 lines
546 B
C#
using System;
|
|
|
|
namespace BililiveRecorder.Flv.Pipeline
|
|
{
|
|
public class ProcessingComment
|
|
{
|
|
public ProcessingComment(CommentType t, string c)
|
|
{
|
|
this.T = t;
|
|
this.C = c ?? throw new ArgumentNullException(nameof(c));
|
|
}
|
|
|
|
/// <summary>
|
|
/// Type
|
|
/// </summary>
|
|
public CommentType T { get; }
|
|
|
|
/// <summary>
|
|
/// Comment
|
|
/// </summary>
|
|
public string C { get; }
|
|
|
|
public override string ToString() => $"{this.T} {this.C}";
|
|
}
|
|
}
|