PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1namespace LinFu.Finders.Interfaces
 2{
 3    /// <summary>
 4    ///     The enumeration that determines how a <see cref="ICriteria{T}" /> instance should
 5    ///     be handled if the criteria test fails.
 6    /// </summary>
 7    public enum CriteriaType
 8    {
 9        /// <summary>
10        ///     A failure in a criteria test will result in a lower weighted
11        ///     score for a target item.
12        /// </summary>
13        Standard = 0,
14
15        /// <summary>
16        ///     A failure in a criteria test will be ignored, and hence,
17        ///     the criteria will be optional.
18        /// </summary>
19        Optional = 1,
20
21        /// <summary>
22        ///     A failure in a criteria test will cause all previous and remaining
23        ///     tests against the criteria to fail.
24        /// </summary>
25        Critical = 2
26    }
27}