This commit is contained in:
Даниил Заикин
2026-06-17 20:44:53 +03:00
parent 9d153773c2
commit b133e7c656
1880 changed files with 244545 additions and 0 deletions
@@ -0,0 +1,17 @@
using System.Reflection;
namespace QFSW.QC
{
/// <summary>
/// A rule for determining which entities should and shouldn't be scanned by Quantum Console for commands.
/// </summary>
public interface IQcScanRule
{
/// <summary>
/// Queries if the entity should be scanned.
/// </summary>
/// <param name="entity">The entity to query.</param>
/// <returns>The result of the rule query.</returns>
ScanRuleResult ShouldScan<T>(T entity) where T : ICustomAttributeProvider;
}
}