/// <summary> /// Determines if it is greater than or equal /// </summary> /// <param name="Value1">Value 1</param> /// <param name="Value2">Value 2</param> /// <returns>True if it is greater than or equal, false otherwise</returns> public static bool operator >=(FormatBase <FormatType, ContentType> Value1, FormatBase <FormatType, ContentType> Value2) { Contract.Requires <ArgumentNullException>(Value1 != null, "Value1"); return(Value1.CompareTo(Value2) >= 0); }
/// <summary> /// Determines if it is less than or equal /// </summary> /// <param name="Value1">Value 1</param> /// <param name="Value2">Value 2</param> /// <returns>True if it is less than or equal, false otherwise</returns> public static bool operator <=(FileBaseClass <FormatFileType> Value1, FileBaseClass <FormatFileType> Value2) { return(Value1.CompareTo(Value2) <= 0); }