BililiveRecorder/BililiveRecorder.Flv/IGroupingRule.cs

26 lines
666 B
C#
Raw Permalink Normal View History

2021-02-08 16:51:19 +08:00
using System.Collections.Generic;
using BililiveRecorder.Flv.Pipeline.Actions;
2021-02-08 16:51:19 +08:00
namespace BililiveRecorder.Flv
{
public interface IGroupingRule
{
2021-03-10 00:30:17 +08:00
/// <summary>
///
/// </summary>
/// <param name="tags">Current Tags</param>
/// <returns></returns>
bool CanStartWith(Tag tag);
2021-03-10 00:30:17 +08:00
/// <summary>
///
/// </summary>
/// <param name="tag">Tag not yet added to the list</param>
/// <param name="tags">List of tags</param>
/// <returns></returns>
bool CanAppendWith(Tag tag, List<Tag> tags);
2021-03-10 00:30:17 +08:00
PipelineAction CreatePipelineAction(List<Tag> tags);
2021-02-08 16:51:19 +08:00
}
}