Namespace Serenity.Shared.Utils
Classes
DisplayValue
FileUtils
Utility class for file operations
LocalePreviewMatcher
Pure decision logic for picking which translation candidate best previews a selected locale.
NamingSanitizer
Single source of truth for the file-name and C#-identifier sanitization rules the editor asset creators (GameSettingCreator, FeedbackCreator, CutsceneCreator, ModalCreator, ThemeCreator, AudioChannelCreator, and the audio/music batch importers) each duplicated near-identically. Engine-agnostic (pure string logic over GetInvalidFileNameChars()), so it lives in Shared rather than any one Business or Unity module.
NumberUtils
Utility class for number operations
ObjectUtils
Utility class for object operations
ParseUtils
Utility class for parsing operations
ParseUtils.Bool
Utility class for parsing boolean values
ParseUtils.Bool.BoolStrings
Utility class for converting boolean values to various string representations
ParseUtils.Bool.BoolStrings.Active
Utility class for converting boolean values to various string representations
ParseUtils.Bool.BoolStrings.Bool
Utility class for converting boolean values to various string representations
ParseUtils.Bool.BoolStrings.Interaction
Utility class for converting boolean values to various string representations
ParseUtils.Bool.BoolStrings.Response
Utility class for converting boolean values to various string representations
ParseUtils.Bool.BoolStrings.Switch
Utility class for converting boolean values to various string representations
ParseUtils.Float
Utility class for parsing float values
ParseUtils.Int
Utility class for parsing integer values
ParseUtils.Type
ReflectionActivationUtils
Reflection helpers for resolving a Type by name and converting a raw string into an
argument of an arbitrary target type. Mirrors the private matching semantics of
Serenity.Tasking.Application.Tasks.ReflectionCallTask (the source of truth: an exact
FullName match, then a short-name match only when it uniquely identifies a single
loaded type) so every reflection-based activation site in Serenity behaves identically for a given
type name. Kept as a standalone copy rather than having ReflectionCallTask delegate here, to
avoid changing the behavior of that existing boot-pipeline task outside dedicated test coverage.
SafeCollectionUtils
Utility class for safe array and collection operations
SignalCategoryFiltering
Pure predicates behind the Signal Flow Browser's search box and category chip row: no engine or scan-data types, only the booleans/strings the caller has already derived per signal.
StringUtils
Utility class for common string operations and formatting
ValueDisplayFormatter
Renders a raw numeric value as invariant-culture display text according to a ValueDisplaySpec. Pure formatting with no engine dependencies, so it can be unit tested outside an editor/player context and shared by every module that puts a number on screen (HUD elements, leaderboard rows, results screens).
Structs
SignalCategoryCounts
Per-category signal counts across a scan, as tallied by ComputeCategoryCounts(IReadOnlyList<SignalCategoryUsage>).
SignalCategoryUsage
Which kinds of dispatch a single signal has, independent of how many of each.
StopwatchDisplayOptions
How a duration is written out: which units appear, how they are padded, and what separates them.
ValueDisplaySpec
A complete description of how to render one numeric value as text: the format family plus the knobs that only apply to the numeric families (decimal precision, zero padding, thousands grouping). Time formats ignore every knob — their shape is fixed by the format itself.
Enums
ParseUtils.Bool.BoolStringsTypes
Enumeration of the different types of boolean string representations
SignalCategoryFilter
Mutually exclusive signal category filter for the Signal Flow Browser's chip row
(Serenity.EventDispatcher.Infrastructure.Editor.SerenitySignalFlowBrowserWindow), combined
with the text search via AND semantics.
TimeUnitVisibility
Whether a time unit is shown.
ValueDisplayFormat
How a numeric value should be rendered as display text.