// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.TemplateEngine.Abstractions.TemplateFiltering
{
/// <summary>
/// Template with information about matching the filters.
/// </summary>
public interface ITemplateMatchInfo
{
/// <summary>
/// Gets the template the filters applied to.
/// </summary>
ITemplateInfo Info { get; }
/// <summary>
/// Gets match information for the filters applied to template.
/// </summary>
IReadOnlyList<MatchInfo> MatchDisposition { get; }
/// <summary>
/// Adds the match information.
/// </summary>
/// <param name="newDisposition"></param>
void AddMatchDisposition(MatchInfo newDisposition);
}
}
|