/src/LinFu.Finders/Interfaces/CriteriaType.cs
http://github.com/philiplaureano/LinFu · C# · 27 lines · 9 code · 2 blank · 16 comment · 0 complexity · bdc5bc1441d36c6d6eac78556a2d9a48 MD5 · raw file
- namespace LinFu.Finders.Interfaces
- {
- /// <summary>
- /// The enumeration that determines how a <see cref="ICriteria{T}" /> instance should
- /// be handled if the criteria test fails.
- /// </summary>
- public enum CriteriaType
- {
- /// <summary>
- /// A failure in a criteria test will result in a lower weighted
- /// score for a target item.
- /// </summary>
- Standard = 0,
- /// <summary>
- /// A failure in a criteria test will be ignored, and hence,
- /// the criteria will be optional.
- /// </summary>
- Optional = 1,
- /// <summary>
- /// A failure in a criteria test will cause all previous and remaining
- /// tests against the criteria to fail.
- /// </summary>
- Critical = 2
- }
- }