Table of Contents

Namespace Hi.Common

Classes

BinIoUtil

Utility class for binary I/O operations.

BitUtil

Utility for bit control for integer.

BlockingTimer

Timer use one task and delay each event call. The delay time is Period, counted from the previous trigger to the nest trigger. The first function call does no intending delay. If the execution time is over the Period, no delay between the triggers.

BytesUtil

Utility class for byte array operations and memory size conversions.

ConcurrentTimeCounter

Thread-safe utility for measuring and tracking execution time across multiple tasks.

ConsoleUtil

Utility class for console window operations.

CppLogUtil

Internal Use Only.

CultureUtil

Utility class for managing culture and localization settings.

DebugUtil

Debug utility provides functions: pause process, count execution time and show the count.

DuplicateUtil

Utility methods for duplication operations.

EnumUtil

Utility class for enum operations.

EnumerablePlayer

Run enumerable with Pause(), Resume() and etc. functions.

ExceptionUtil

Provides utility methods for handling exceptions.

IndexSegment

Represents a segment of indices with a beginning and ending point. Used for defining ranges of data in collections or arrays.

IntegerKeyDictionaryConverter

Converts dictionaries with string keys to dictionaries with integer keys for more efficient storage and lookup.

IntegerKeyDictionaryConverter<TValue>

Generic version of IntegerKeyDictionaryConverter that works with a specific value type.

InternalException

Exception that represents an internal error that should never occur during normal operation. Used to indicate programming errors or unexpected states that require developer attention.

InvokeUtil

Utility class for method invocation operations.

JsonUtil
LooseRunner

Provides a mechanism for running actions asynchronously in a loose manner. Only the most recent action is executed and previous pending actions are discarded.

ManualUtil
MaskUtil

Utility for bits masking.

NameUtil

Utility class for handling object names and display names.

PacePlayee

Represents an entity that can be controlled by the pace player.

PacePlayer

Controls the pace execution of a task.

Pair<TA, TB>

Editable pair values.

Range<T>

Range from Min to Max.

ResourceUtil

Utility class for working with resource managers and localized strings.

RoutineBlocker

Block the thread to the given delay from the previous block.

RoutineBlocker0

Block the thread to the given delay from the previous block.

SeqPairUtil

Utility class for SeqPair operations.

SeqPair<T>

Represents a sequence pair containing previous and current values. Used to track sequential state changes of a value.

ServerFileExplorerConfig

Configuration for server file explorer functionality.

Slice

Designed for mongo large bytes splision.

StringLocalizer

Provides localization functionality for strings using resource managers.

StringUtil

Utility for managing text.

TaskUtil

Utility class for Task-related operations.

TimeCounter

A utility counts the average/total time consume between the Bound(object) areas. The count of time consume for the given key starts at the first time (and the odd time) calling Bound(object); stops and accumulates at the second time (and the even time).

Interfaces

IAbstractNote

Interface for objects that provide an abstract description or note.

IBinaryIo

Interface for binary input/output operations. Extends IWriteBin to provide both read and write capabilities.

IClearCache

Interface for objects that can clear their internal cache.

IDuplicate

Interface for objects that support deep cloning/duplication.

IGetQuantityByKey

Interface for retrieving a quantity value using a string key.

IGetSelectionName

Interface for objects that can provide a name for selection purposes.

INameNote

Interface for objects that have a name and note property.

IPreferredFileName

Interface for objects that can specify a preferred file name. Generally used to suggest a name when generating or saving files.

ISourceFile

Interface for objects that have a source file.

IUpdateByContent

Interface for objects that can update themselves based on their content.

IUriGetter

Interface for retrieving a URI string.

IWriteBin

Interface for writing binary data.

Enums

BinarySearchResult

Represents the result of a binary search operation.

Delegates

CppLogUtil.LogDelegate

Internal Use Only.