2020-04-01 15:11:56 -04:00
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// represents a pattern match result
|
2020-04-01 15:11:56 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IMatchResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// array of matched pattern groups
|
2020-04-01 15:11:56 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
string[] Values { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// indicates if the match succeeded
|
2020-04-01 15:11:56 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
bool Success { get; set; }
|
|
|
|
|
}
|
2022-01-26 11:32:16 -05:00
|
|
|
|
}
|