Files
BinaryObjectScanner/BinaryObjectScanner.Matching/MatchSet.cs

28 lines
663 B
C#
Raw Normal View History

using System.Collections.Generic;
2023-03-07 16:59:14 -05:00
namespace BinaryObjectScanner.Matching
{
/// <summary>
/// Wrapper for a single set of matching criteria
/// </summary>
public abstract class MatchSet<T, U> where T : IMatch<U>
{
/// <summary>
/// Set of all matchers
/// </summary>
#if NET48
public IEnumerable<T> Matchers { get; set; }
#else
public IEnumerable<T>? Matchers { get; set; }
#endif
/// <summary>
/// Name of the protection to show
/// </summary>
#if NET48
public string ProtectionName { get; set; }
#else
public string? ProtectionName { get; set; }
#endif
}
}