Show / Hide Table of Contents

Namespace SuperOffice.Util

Classes

AccessGateway

AccessGateway.AccessGatewayTokenReply

AccessGateway.AccessGatewayTokenRequest

AccessGateway.TenantClientConfiguration

AccessGateway.TenantRegistrationInfo

AccessGateway.TokenManagementInfo

AppointmentUtility

Utility functions for Appointment services

AttributeFetcher

Helper class (static method collection) that will fetch a given attribute from a type, or an instance of a type

BizCardResult

ByteOrderMarkerEncodingDetector

CalendarExtensions

CalendarUtility

CollectionOps

Utility class for operations on collections of various kinds. You will find operations for converting between various kinds of collections, converting the data inside collections, comparisons and more

ComplexKey

Multi-element container that implements by-value comparison semantics and Hashcode caching; for use in Dictionary where you need an efficient, dynamic key. It only works if you consider it immutable and don't change the underlying objects!

DateTimeUtil

DateUtility

DocumentSaveChangeAnalyzer

Class used to assist safe analysis of PrivateSave instances, without exposing internal properties for modification.

DomainHelper

Class used to provide re-usable ways to process email-addresses and web-site adddresses for further analysis.

DurationTimeHelper

Encoding

EnumerableWriter

Class which provides the ability to write to a provided enumerable of many kinds. Instances should be created through CreateFor(Type).

ExpiringDictionary<TKey, TValue>

Represents a collection of keys and values, where each element will expire and be automatically removed according to the properties "SlidingExpiration" and "AbsoluteExpiration"

ExpressionUtil

Class used to manipulate C# Expression-trees.

FileExtensionValidator

FileNameHelper

Class to secure a valid filename from a proposed filename

GlobalTestFlag

HtmlHelper

Class which provides HTML-related utility-functions.

HttpHelper

HttpHelper.HttpServiceJwtConfig

ImageStreamUtils

ImageUtilities

ImageUtilities.ImageSize

Description of requested size for an image.

ImportDefaults

InjectionHelper

JsonPairSerializer<T1, T2>

Class used to serialize related pairs of data. Implemented generally for reuseability across the codebase, but intended specificly to support use-cases related to CRM WebAdmin and data-import batch-tasks.

KeyedMatrix<TKeyColumn, TKeyRow, TItem>

MailHelper

MailIdConverter

MatrixItem<TKeyColumn, TKeyRow, TItem>

MimeHelper

Class for assisting in mime-related functionality.

MimeTypes

Class containing mime-type constants.

NSWinContactHelper

NaiveBomLessUtf16LeEncodingDetector

NameHelper

NameValueCollectionOps

NotUtf8EncodingDetector

ObjectExtensions

Extension class used to provide various functionality to all CLR objects.

OnlineConfigWaiter

ParameterBuilder

This class builds parameter strings of the type [item&item&item], with selectable start, middle and end delimiters

PreferenceLicenseRequired

RagAIConfiguration

"RAG" appsettings.json options: "AppClientSecret" and "EndpointUrl", "Fileset_Audience" and "Fileset_SigningKey"

RagAIHelper

Call AI RAG backend services. Requires ServiceCopilot feature toggle or AiPlatform + AiTextServices/AiCategorization licenses. Gets options from appsettings.json via RagConfiguration options.

RandomNumberGeneratorExtensions

ReaderWriteLockExtensions

RecurringSeries

RecurringSubSeries

ReversibleStringEncryption

This class implements a simple string encryptor/decryptor using the RijndaelManaged crypto provider. The class will encrypt strings

SJArray

SJElement

SoDocumentPlugin

Class used to assist mapping between a document plugin's ID and name, and also help centralize rules wrt what is the "default" document-plugin in various hosting-environments.

SoDocumentPluginPreferenceHelper

Class used to assist storing and retrieving of DocumentPlugin-related preferences.

SoMapper

Class for mapping values between class-instances and types based on similarly named properties with fundamentally compatible types.

basic principle of operation is adhering to the "Duck test": "When I see a bird that walks like a duck and swims like a duck and quacks like a duck, I call that bird a duck."

StackTracer

Utility class for collecting stack traces - useful when you want to make debugging easier by collecting run-time data on where your classes get called from. Enabled by EnableScaffolding AND EnableStackTracing, which default to FALSE (EnableStackTracing defaults to TRUE in DEBUG builds).

StringHelper

StructurePatchingHelper

Iterate over a complex data structure. Unroll arrays and dictionaries; recurse class members. Only look at public Properties that can read/write. Used for Carrier data patching in WebApi

TSRandom

A Thread Safe random class

TargetHelper

TemporaryConfigOverride

Force a temporary value for a ConfigFile parameter, and cleanup on exit

TemporaryFeatureToggle

Force a given FeatureToggle to the desired state, cleanup on Dispose

TextEncodingHelper

Class used to assist detection of unknown encodings.

TimeConverter

Utility class for converting between superoffice time values (seconds after 1.1.1970) and .Net DateTime values

TimeConverterData

TimeConverterHelper

Helper class for TimeConverter.

TimeZoneUtility

TrackEvent

Events to be dispatched to Amplitude/Userflow.

TrackEventDispatcher

Sends events to Amplitude and Userflow on a background thread

TrackEventSender

Background service to process UI event tracking and dispatch

TwipsConverter

Convert twips to centimeter or inches.

TwoWayDictionary<LeftType, RightType>

This class implements a two-way associate container, that is, a dictionary-like collection that is indexable both by the left and right-hand values. This places key-like constraints on both sides (they must be comparable, hasheable, and unique), but provides fast lookup in both directions.

TypeHelper

Utility/Extension class to assist analysis of data-types when doing reflection-code.

UrlHelper

Class to assist working with URLs.

UsedPrefKeysUtils

VideoMeetingHelper

VideoMeetingHelper.SoAppointment

VideoMeetingHelper.UserConnectedState

VideoMeetingHelper.VideoMeetingReservation

VisitorPatternHelper<ReturnType>

Helper class for performing a Visitor-type invocation of methods on some node structure

WebAppUsageRecorder

Utility class to insert or update a row in WebAppUsage.

Wrapper<T>

Wrapper class around a type, useful for example to avoid pass by value where we can't use the ref keyword

XmlObjectHelper

Class to extract data from xml without caring about namespaces etc.

XmlSchemaUtil

This class holds helper methods for XML Schema reading and writing

XmlUtil

This class contains utility methods for manipulating Xml elements

XmlUtil.InternalResolver

XmlResolver subclass that resolves uri's to corresponding xml nodes without going through temporary files.

Zip

Class to encrypt/decrypt data

doubleExtensions

shortAndboolExtensions

Extension methods that handle the equivalences between short and bool in NetServer

Structs

AccessGateway.RetrieveTokensResult

Interfaces

IAppointmentUtility

ICalendarUtility

ITextEncodingDetector

ITrackEventDispatcher

IWebAppUsageRecorder

Directly save WebAppUsage records to the database

Enums

DateTimeSearchType

HttpHelper.RequestType

ImageUtilities.FallbackStrategy

ImageUtilities.ScaleStrategy

ImageUtilities.VerticalAlignment

XmlUtil.Override

Should existing values be overridden or not

ZipType

Type of compression algorithm

Delegates

CollectionOps.ConvertType<SourceType, ReturnType>

Type converter delegate, used to convert an object of one type to another

CollectionOps.GetKeyFromValueItem<KeyType, ValueType>

Delegate for the CreateDictionaryFromArray<KeyType, ValueType>(ValueType[], GetKeyFromValueItem<KeyType, ValueType>) methods, whose task is to extract whatever is the key from the given item

RowModification

StructurePatchingHelper.TypeAction

Action to apply for a given type, when a Property of that type is encountered

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top