/// <summary> /// Enables following execution expressions if the /// current evaluated expression is False /// </summary> /// <param name="expression">Boolean expression</param> /// <returns>Set of valid operations</returns> public static Operations.Operations IfFalse(this bool expression) => OperationsFactory.GetOperations(!expression);
/// <summary> /// Enables following execution expressions if the /// current object is Null /// </summary> /// <param name="obj">Nullable object</param> /// <returns>Set of valid operations</returns> public static Operations.Operations IfNull(this object obj) => OperationsFactory.GetOperations(obj == null);
/// <summary> /// Enables following execution expressions if the /// current evaluated expression is True /// </summary> /// <param name="expression">Boolean expression</param> /// <returns>Set of valid operations</returns> public static Operations.Operations IfTrue(this bool expression) => OperationsFactory.GetOperations(expression);