Table of Contents

Class Verify

Namespace
HP.LFT.Verifications
Assembly
HP.LFT.Verifications.dll

Class for verifying expected values in your application.

public static class Verify
Inheritance
Verify
Inherited Members

Remarks

When a Verify method returns a false value, the step fails, but the failure does not throw an exception or cause the test to stop running.

Methods

AreEqual(IEnumerable, IEnumerable, string, string, Image)

Checks whether two IEnumerable values are equal.

public static bool AreEqual(IEnumerable expected, IEnumerable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected IEnumerable

The expected value.

actual IEnumerable

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqual(decimal, decimal, string, string, Image)

Checks whether two decimal values are equal.

public static bool AreEqual(decimal expected, decimal actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected decimal

The expected value.

actual decimal

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqual(double, double, string, string, Image)

Checks whether two double values are equal.

public static bool AreEqual(double expected, double actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected double

The expected value.

actual double

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqual(IComparable, IComparable, string, string, Image)

Checks whether two objects are equal.

public static bool AreEqual(IComparable expected, IComparable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected IComparable

The expected value.

actual IComparable

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqual(int, int, string, string, Image)

Checks whether two integer values are equal.

public static bool AreEqual(int expected, int actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected int

The expected value.

actual int

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqual(long, long, string, string, Image)

Checks whether two long values are equal.

public static bool AreEqual(long expected, long actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected long

The expected value.

actual long

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqual(string, string, string, string, Image)

Checks whether two strings values are equal.

public static bool AreEqual(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected string

The expected value.

actual string

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqual(uint, uint, string, string, Image)

Checks whether two unsigned integer values are equal.

public static bool AreEqual(uint expected, uint actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected uint

The expected value.

actual uint

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreEqualIgnoringCase(string, string, string, string, Image)

Checks whether two string values are equal, ignoring case.

public static bool AreEqualIgnoringCase(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected string

The expected string.

actual string

The actual string.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(IEnumerable, IEnumerable, string, string, Image)

Checks whether two IEnumerable values are different.

public static bool AreNotEqual(IEnumerable expected, IEnumerable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected IEnumerable

The expected value.

actual IEnumerable

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(decimal, decimal, string, string, Image)

Checks whether two decimal values are different.

public static bool AreNotEqual(decimal expected, decimal actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected decimal

The expected value.

actual decimal

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(double, double, string, string, Image)

Checks whether two double values are different.

public static bool AreNotEqual(double expected, double actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected double

The expected value.

actual double

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(IComparable, IComparable, string, string, Image)

Checks whether two enum values are different.

public static bool AreNotEqual(IComparable expected, IComparable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected IComparable

The expected value.

actual IComparable

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(int, int, string, string, Image)

Checks whether two integer values are different.

public static bool AreNotEqual(int expected, int actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected int

The expected value.

actual int

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(long, long, string, string, Image)

Checks whether two long values are different.

public static bool AreNotEqual(long expected, long actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected long

The expected value.

actual long

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(string, string, string, string, Image)

Checks whether two strings values are different.

public static bool AreNotEqual(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected string

The expected value.

actual string

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqual(uint, uint, string, string, Image)

Checks whether two unsigned integer values are different.

public static bool AreNotEqual(uint expected, uint actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected uint

The expected value.

actual uint

The actual value.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

AreNotEqualIgnoringCase(string, string, string, string, Image)

Checks whether two string values are different, ignoring case.

public static bool AreNotEqualIgnoringCase(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

expected string

The expected string.

actual string

The actual string.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Contains(IEnumerable, object, string, string, Image)

Checks whether the provided collection contains the object provided in the second argument.

public static bool Contains(IEnumerable collection, object element, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

collection IEnumerable

The collection to check.

element object

The object to search for.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Contains(string, string, string, string, Image)

Checks whether the first string specified is contained within the second string.

public static bool Contains(string substring, string source, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

substring string

The string to search for.

source string

The string to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

EndsWith(string, string, string, string, Image)

Checks whether the 'expected' string is the last part of the 'actual' string.

public static bool EndsWith(string suffix, string source, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

suffix string

The string to search for.

source string

The string to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(decimal, decimal, string, string, Image)

Checks whether the first number specified is greater than the second for decimal values.

public static bool Greater(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 decimal

The first value, expected to be the larger number.

arg2 decimal

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(double, double, string, string, Image)

Checks whether the first number specified is greater than the second for double values.

public static bool Greater(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 double

The first value, expected to be the larger number.

arg2 double

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(IComparable, IComparable, string, string, Image)

Checks whether the first number specified is greater than the second for IComparable values.

public static bool Greater(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 IComparable

The first value, expected to be the larger number.

arg2 IComparable

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(int, int, string, string, Image)

Checks whether the first number specified is greater than the second for integer values.

public static bool Greater(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 int

The first value, expected to be the larger number.

arg2 int

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(long, long, string, string, Image)

Checks whether the first number specified is greater than the second for long values.

public static bool Greater(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 long

The first value, expected to be the larger number.

arg2 long

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(float, float, string, string, Image)

Checks whether the first number specified is greater than the second for float values.

public static bool Greater(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 float

The first value, expected to be the larger number.

arg2 float

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(uint, uint, string, string, Image)

Checks whether the first number specified is greater than the second for unsigned integer values.

public static bool Greater(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 uint

The first value, expected to be the larger number.

arg2 uint

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Greater(ulong, ulong, string, string, Image)

Checks whether the first number specified is greater than the second for unsigned long values.

public static bool Greater(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 ulong

The first value, expected to be the larger number.

arg2 ulong

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(decimal, decimal, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for decimal values.

public static bool GreaterOrEqual(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 decimal

The first value, expected to be the larger number.

arg2 decimal

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(double, double, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for double values.

public static bool GreaterOrEqual(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 double

The first value, expected to be the larger number.

arg2 double

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(IComparable, IComparable, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for IComparable values.

public static bool GreaterOrEqual(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 IComparable

The first value, expected to be the larger number.

arg2 IComparable

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(int, int, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for integer values.

public static bool GreaterOrEqual(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 int

The first value, expected to be the larger number.

arg2 int

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(long, long, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for long values.

public static bool GreaterOrEqual(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 long

The first value, expected to be the larger number.

arg2 long

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(float, float, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for float values.

public static bool GreaterOrEqual(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 float

The first value, expected to be the larger number.

arg2 float

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(uint, uint, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for unsigned integer values.

public static bool GreaterOrEqual(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 uint

The first value, expected to be the larger number.

arg2 uint

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

GreaterOrEqual(ulong, ulong, string, string, Image)

Checks whether the first number specified is greater than or equal to the second for unsigned long values.

public static bool GreaterOrEqual(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 ulong

The first value, expected to be the larger number.

arg2 ulong

The second value, expected to be the smaller number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

IsFalse(bool, string, string, Image)

Checks whether the specified condition is false.

public static bool IsFalse(bool condition, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

condition bool

The condition to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

IsMatch(string, string, string, string, Image)

Checks whether the specified regular expression matches the specified string value.

public static bool IsMatch(string actual, string regexPattern, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

actual string

The string to check.

regexPattern string

The regular expression value to search for. Use standard C# regular expression syntax.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

IsNotNullOrEmpty(IEnumerable, string, string, Image)

Checks whether the provided collection is not null or empty.

public static bool IsNotNullOrEmpty(IEnumerable collection, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

collection IEnumerable

The collection to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

IsNotNullOrEmpty(string, string, string, Image)

Checks whether the specified string is not null or empty.

public static bool IsNotNullOrEmpty(string aString, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

aString string

The string to check

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

IsNullOrEmpty(IEnumerable, string, string, Image)

Checks whether the provided collection is null or empty.

public static bool IsNullOrEmpty(IEnumerable collection, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

collection IEnumerable

The collection to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

IsNullOrEmpty(string, string, string, Image)

Checks whether the specified string is null or empty.

public static bool IsNullOrEmpty(string aString, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

aString string

The string to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

IsTrue(bool, string, string, Image)

Checks whether the specified condition is true.

public static bool IsTrue(bool condition, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

condition bool

The condition to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(decimal, decimal, string, string, Image)

Checks whether the first number specified is less than the second for decimal values.

public static bool Less(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 decimal

The first value, expected to be the smaller number.

arg2 decimal

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(double, double, string, string, Image)

Checks whether the first number specified is less than the second for double values.

public static bool Less(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 double

The first value, expected to be the smaller number.

arg2 double

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(IComparable, IComparable, string, string, Image)

Checks whether the first number specified is less than the second for IComparable values.

public static bool Less(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 IComparable

The first value, expected to be the smaller number.

arg2 IComparable

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(int, int, string, string, Image)

Checks whether the first number specified is less than the second for integer values.

public static bool Less(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 int

The first value, expected to be the smaller number.

arg2 int

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(long, long, string, string, Image)

Checks whether the first number specified is less than the second for long values.

public static bool Less(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 long

The first value, expected to be the smaller number.

arg2 long

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(float, float, string, string, Image)

Checks whether the first number specified is less than the second for float values.

public static bool Less(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 float

The first value, expected to be the smaller number.

arg2 float

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(uint, uint, string, string, Image)

Checks whether the first number specified is less than the second for unsigned integer values.

public static bool Less(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 uint

The first value, expected to be the smaller number.

arg2 uint

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

Less(ulong, ulong, string, string, Image)

Checks whether the first number specified is less than the second for unsigned long values.

public static bool Less(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 ulong

The first value, expected to be the smaller number.

arg2 ulong

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(decimal, decimal, string, string, Image)

Checks whether the first number specified is less than or equal to the second for decimal values.

public static bool LessOrEqual(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 decimal

The first value, expected to be the smaller number.

arg2 decimal

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(double, double, string, string, Image)

Checks whether the first number specified is less than or equal to the second for double values.

public static bool LessOrEqual(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 double

The first value, expected to be the smaller number.

arg2 double

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(IComparable, IComparable, string, string, Image)

Checks whether the first number specified is less than or equal to the second for IComparable values.

public static bool LessOrEqual(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 IComparable

The first value, expected to be the smaller number.

arg2 IComparable

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(int, int, string, string, Image)

Checks whether the first number specified is less than or equal to the second for integer values.

public static bool LessOrEqual(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 int

The first value, expected to be the smaller number.

arg2 int

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(long, long, string, string, Image)

Checks whether the first number specified is less than or equal to the second for long values.

public static bool LessOrEqual(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 long

The first value, expected to be the smaller number.

arg2 long

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(float, float, string, string, Image)

Checks whether the first number specified is less than or equal to the second for float values.

public static bool LessOrEqual(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 float

The first value, expected to be the smaller number.

arg2 float

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(uint, uint, string, string, Image)

Checks whether the first number specified is less than or equal to the second for unsigned integer values.

public static bool LessOrEqual(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 uint

The first value, expected to be the smaller number.

arg2 uint

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

LessOrEqual(ulong, ulong, string, string, Image)

Checks whether the first number specified is less than or equal to the second for unsigned long values.

public static bool LessOrEqual(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

arg1 ulong

The first value, expected to be the smaller number.

arg2 ulong

The second value, expected to be the larger number.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool

StartsWith(string, string, string, string, Image)

Checks whether the 'expected' string is the first part of the 'actual' string.

public static bool StartsWith(string prefix, string source, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)

Parameters

prefix string

The string to search for.

source string

The string to check.

verificationName string

The verification title.

verificationDescription string

The verification description.

verificationImage Image

An image related to the verification.

Returns

bool