Search Results for

    Show / Hide Table of Contents

    Namespace LemonEdge.Utils

    Classes

    ApplicationLogging

    Helper class for logging all actions in the LemonEdge platform

    AsyncHelper

    A set of helper functions for waiting on tasks and running them synchronously

    This should be used sparingly and only in areas that require it like validation attributes, as this can lock up the UI

    Used mostly within single threaded enviromnents such as a command console

    BaseHasChildren<T>

    A base class that items can inherit from that implements the IHasChildren<T> functionality

    BaseTreeNode<T, TN>

    A class holding a typed TreeNode implementation

    CodeBuilder

    Helper functions for creating and loading dynamic code

    ColorHelper

    A set of functions for helping with default colours in the application. The application can color tabs for ensuring layouts look different. This helps cycle through a set of distinct colors to make sure tabs dont clash

    CommandLineArgOptions

    Details the options expected for command line arguments

    CommandLineArgParser

    A class for common operations around resolving command line arguments

    CompressionHelper

    A set of helper functions for compressing and decompressing data

    Constants

    Helper function for common constant values

    DescriptionAttribute

    An attribute for providing a description against a property, field or interface.

    Used against enum values for tooltips in the UI

    EncodingExtensions

    A helper extension for retrieving

    EnumHelper

    A set of functions and extensions for helping to work with an System.Enum

    EnumWrapper

    A wrapper for providing details about an enum value including a description for use with user selection of values

    EnumWrapper<T>

    A strongly typed version of the EnumWrapper for a specific Enum type. This ensures it holds the enum value correctly typed

    ExpressionsHelper

    A set of helper functions and extensions around expressions and reflection for Linq functionality

    ExpressionTypeChanger<T>

    A class for traversing expressions and changing the type of a parameter from a type to another

    This is used by the system for Linq expressions generated against an interface and replacing them to work against the actual class implementation of that interface

    FileHelper

    Helper functions associated with file operations in .net core

    FormulaFunctionAttribute

    Describes a function that can be used by the formula engine. The description is used in the formula engine editor for information about all possible callable functions

    HasChildrenExtensions

    A set of helper functions and extensions for working with IHasChildren implementations

    HttpClientHelper

    A helper class for dealing with HTTPCLients especially within Blazor and other similar environments

    IPAddressRange

    Parses an ip address range for checking to see if a supplied ip address is valid within that range.

    Formats:

    ipaddress{optional comment}

    ipaddresMmin-ipaddressMax(optional expirey date){optional comment}

    MiscExtensions

    A set of miscellaneous extension and helper methods

    PredicateBuilder

    Helper functions for combining Linq expressions through logical operators

    PropertyComparer<T, P>

    Implements System.Collections.Generic.IEqualityComparer<T> for the specified type T comparing the specified property

    QueryableExecuter

    The base class for holding all queries in a generic manner for LemonEdge. The LemonEdge context interface allows access to data across direct DB access and web services, as such we don't use LINQ as it is not fully supported in all circumstances (see OData spec).

    This class is designed to encapsulate the queries possible by LemonEdge across services or direct db access, and is responsible for translating it into appropriate Linq queries where required

    QueryableExecuter<T>

    A QueryableExecuter that operates against the specified interface of type T

    QueryableExecuter<T, TT>

    A QueryableExecuter that operates against the specified interface of type T and a class of type TT implementing T

    QueryableFilter

    Contains information on filtering a set of items. Can contain child QueryableFilters forming a filter like the following:

    And

    --- XXX Equals 123

    --- Or

    ------ YYY Equals 123

    ------ ZZZ NotEquals 321

    QueryableSort

    Contains information on a property and direction to use to sort a collection of items

    QueryExecuterHelper

    A helper class for common functions using QueryableExecuters

    ReflectionExtensions

    Contains a set of extensions for common reflection activities

    ReflectionHelper

    A set of functions to help with reflection, including referencing custom loaded DLLs by LemonEdge

    ScriptHelper

    A helper class for evaluating scripts and formulas in LemonEdge

    SerializedParam

    An abstract base class for serializing and working with parameters/settings associated with items

    Also implements System.ICloneable to ensure parameters can be copied and passed around as strings

    SetOrderEnumerator<T>

    A class that enumerates a collection into a given order of mutually exclusive sets

    SettingHelperOption

    Contains an option to prevent the SettingsHelper from loading any settings from the config files or enviromnent.

    This is used by blazor and other clients to prevent loading any settings that aren't needed

    SettingsHelper

    A settings helper class that allows access to common settings along with methods for other libraries to load their settings from

    StandardFunctions

    All contexts that are used in the formula engine should inherit from this base class that provides a set of common functions that can be used simply in formulas

    StringExtensions

    A set of extension methods for string manipulation

    StringHelper

    A collection of helper functions for common string manipulation

    TreeNode

    Holds an associated Item and child TreeNode items through the BaseHasChildren<T> implementation.

    TreeNode<T>

    Holds an associated Item of type T for this TreeNode, with Children items that are all of type TreeNode<T>

    Interfaces

    ICanTrackProperties

    Indicates this item can track the original values of certain properties before any changes are made

    ICustomSettingRetriever

    Can be used to override the SettingsHelper functionality to provide an alternative method for retrieving custom setting values from propeitary sources

    IHasChildren

    Indicates this item contains child items within it that can themselves contain children

    IHasChildren<T>

    Indicates this item has children that are all typed to be of the same type

    ITreeNode

    Generalizes a property that a class implements that provides an associated Item object that can be held against the class while also having child items through the IHasChildren interface implementation.

    ITreeNode<T>

    Generalizes a property that a class implements that provides an associated Item that can be held against the class while also having child items through the IHasChildren interface implementation.

    ITreeNode<T, TN>

    Generalizes a property that a class implements that provides an associated Item that is of the same treenode type again, that can be held against the class while also having child items through the IHasChildren<T> interface implementation.

    Enums

    MathOperator

    An enum used for addition and subtraction options

    QueryableExecuterApplyType

    A bitwise flag of options that can be used from a QueryableExecuter

    StringHelper.CharLetterTypeCase

    Indicates an alphabet character should come from the set of characters that are lower case, upper case, or both.

    TextFileEncoding

    AN enumeration of the different types of text encoding supported

    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.