BililiveRecorder/BililiveRecorder.Flv/IGroupingRule.cs
2021-04-29 23:51:06 +08:00

26 lines
666 B
C#

using System.Collections.Generic;
using BililiveRecorder.Flv.Pipeline.Actions;
namespace BililiveRecorder.Flv
{
public interface IGroupingRule
{
/// <summary>
///
/// </summary>
/// <param name="tags">Current Tags</param>
/// <returns></returns>
bool CanStartWith(Tag tag);
/// <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);
PipelineAction CreatePipelineAction(List<Tag> tags);
}
}