2021-02-08 16:51:19 +08:00
|
|
|
using System.Collections.Generic;
|
2021-04-29 23:51:06 +08:00
|
|
|
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>
|
2021-04-29 23:51:06 +08:00
|
|
|
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>
|
2021-04-29 23:51:06 +08:00
|
|
|
bool CanAppendWith(Tag tag, List<Tag> tags);
|
2021-03-10 00:30:17 +08:00
|
|
|
|
2021-04-29 23:51:06 +08:00
|
|
|
PipelineAction CreatePipelineAction(List<Tag> tags);
|
2021-02-08 16:51:19 +08:00
|
|
|
}
|
|
|
|
}
|