EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Class Guard

    Inheritance
    object
    Guard
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: PoeShared
    Assembly: PoeShared.dll
    Syntax
    public static class Guard

    Methods

    Name Description
    ArgumentCondition<T>(Expression<Func<T>>, Expression<Func<T, bool>>)

    Checks if the given value meets the given condition.

    ArgumentCondition<T>(T, string, Expression<Func<T, bool>>)

    Checks if the given value meets the given condition.

    ArgumentHasLength(Expression<Func<string>>, int)

    Checks if the given string has the expected length

    ArgumentHasLength(string, string, int)

    Checks if the given string has the expected length

    ArgumentHasMaxLength(Expression<Func<string>>, int)

    Checks if the given string has a length which exceeds given max length.

    ArgumentHasMaxLength(string, string, int)

    Checks if the given string has a length which exceeds given max length.

    ArgumentHasMinLength(Expression<Func<string>>, int)

    Checks if the given string has a length which is at least given min length long.

    ArgumentHasMinLength(string, string, int)

    Checks if the given string has a length which is at least given min length long.

    ArgumentIsBetween<T>(Expression<Func<T>>, T, T, bool)

    Checks if given argument is between given lower value and upper value.

    ArgumentIsFalse(bool, string)

    Checks if the given value is false.

    ArgumentIsFalse(Expression<Func<bool>>)

    Checks if the given expression is false.

    ArgumentIsGreaterOrEqual<T>(Expression<Func<T>>, T)

    Checks if given argument is greater or equal to given value.

    ArgumentIsGreaterThan<T>(Expression<Func<T>>, T)

    Checks if given argument is greater than given value.

    ArgumentIsLowerOrEqual<T>(Expression<Func<T>>, T)

    Checks if given argument is lower or equal to given value.

    ArgumentIsLowerThan<T>(Expression<Func<T>>, T)

    Checks if given argument is lower than given value.

    ArgumentIsNotNegative<T>(Expression<Func<T>>)

    Verifies the expression is not a negative number and throws an ArgumentOutOfRangeException if it is a negative number.

    ArgumentIsNotNegative<T>(T, string)

    Checks if argumentValue is not a negative number.

    ArgumentIsTrue(bool, string)

    Checks if the given value is true.

    ArgumentIsTrue(Expression<Func<bool>>)

    Checks if the given expression is true.

    ArgumentMustBeInterface(Type)

    Checks if the given type is an interface type.

    ArgumentMustBeOfType<T>(object, string)
    ArgumentMustNotBeInterface(Type)

    Checks if the given type is not an interface type.

    ArgumentNotNullOrEmpty(IEnumerable, string)

    Checks if the given string is not null or empty.

    ArgumentNotNullOrEmpty(Expression<Func<IEnumerable>>)

    Checks if the given string is not null or empty.

    ArgumentNotNullOrEmpty(Expression<Func<string>>)

    Checks if the given string is not null or empty.

    ArgumentNotNullOrEmpty(string, string)

    Checks if the given string is not null or empty.

    ArgumentNotNull<T>(Expression<Func<T>>)

    Checks if the given value is not null.

    ArgumentNotNull<T>(T, string)

    Checks if the given value is not null.

    ArgumentNull<T>(Expression<Func<T>>)

    Checks if the given value is not null.

    ArgumentNull<T>(T, string)

    Checks if the given value is not null.

    © Xab3r. All rights reserved.