MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Contracts.​NumericNumber­ComparerIs­Greater­Than
Open sandboxFocus

NumberComparer.IsGreaterThan Method

IsGreaterThan(Object, Int64)

Declaration
public static Nullable<bool> IsGreaterThan(object o, long min)
Parameters
Type Name Description
System.Object o
System.Int64 min
Returns
Type Description
System.Nullable<System.Boolean>

IsGreaterThan(Object, UInt64)

Declaration
public static Nullable<bool> IsGreaterThan(object o, ulong min)
Parameters
Type Name Description
System.Object o
System.UInt64 min
Returns
Type Description
System.Nullable<System.Boolean>

IsGreaterThan(Object, Double)

Declaration
public static Nullable<bool> IsGreaterThan(object o, double min)
Parameters
Type Name Description
System.Object o
System.Double min
Returns
Type Description
System.Nullable<System.Boolean>

IsGreaterThan(Object, Decimal)

Declaration
public static Nullable<bool> IsGreaterThan(object o, Decimal min)
Parameters
Type Name Description
System.Object o
System.Decimal min
Returns
Type Description
System.Nullable<System.Boolean>