// // ConditionComparison.cs - indicates the type of comparison to use with a conditional statement // // Author: // Michael Becker // // Copyright (c) 2011-2020 Mike Becker's Software // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . using System; namespace MBS.Framework.Logic.Conditional { /// /// Indicates the type of comparison to use with a conditional statement. /// [Flags()] public enum ConditionComparison { /// /// Returns true if the two values are equal by value. /// Equal = 1, /// /// Returns true if the two values are equal by reference (or by value if they are value types). /// ReferenceEqual = 2, /// /// Returns true if the first value is greater than the second value. /// GreaterThan = 4, /// /// Returns true if the first value is less than the second value. /// LessThan = 8, /// /// Negates the conditional comparison. /// Not = 16, StartsWith = 32, EndsWith = 64, Contains = 128 } }