C# (CSharp) SIL.Utils Namespace

Nested Namespaces

SIL.Utils.Attributes
SIL.Utils.FileDialog

Classes

Name Description
AccessibleNameCreator This class exposes a static method for ensuring that a control and all its child controls have accessible names. If no better name is already provided, it supplies one using the Type of the control, and if necessary an index.
ActivationContextHelper
ActivationContextHelper.ActCtx
ActivationContextHelper.Activation
ArrayUtilsTests
BagHolder
BagTests
ColorUtil
DynamicLoaderTests
ErrorReporter Summary description for ErrorReporter.
ErrorReporterTests
GlobalMutex This is a cross-platform, global, named mutex that can be used to synchronize access to data across processes. It supports reentrant locking. This is needed because Mono does not support system-wide, named mutexes. Mono does implement the Mutex class, but even when using the constructors with names, it only works within a single process.
GlobalMutex.LinuxGlobalMutexAdapter On Linux, the global mutex is implemented using file locks.
GlobalMutex.ReleaseDisposable
GlobalMutex.WindowsGlobalMutexAdapter On Windows, the global mutex is implemented using a named mutex.
GlobalMutexTests
ImagePicture
LinuxPackageUtils Allows querying for installed linux packages.
Logger Logs stuff to a file created in c:\Documents and Settings\Username\Local Settings\Temp\Companyname\Productname\Log.txt
MergeSort MergeSort - a stable sort for .Net Mostly a translation of the C++ mergesort from Robert Sedgewick's Algorithms in C++, 1st edition This implementations supports Arrays and ArrayLists. Because of .Net limitations primitive arrays (example: int [] array = new int[10000];) cannot be sorted by this code.
MiscUtilsTests
MockFileOS Mock version of IFileOS that lets us simulate existing files and directories.
MockFileOS.MockFile Represents a file in the file system without actually being a file
NativeException This exception class represents errors returned by native system calls.
NoOpKeyboardController A do-nothing keyboard controller implementation.
OLECvt This helper class allows access to protected members of AxHost used to convert Image and Font objects to OLE objects
PaintingHelper Contains misc. static methods for various customized painting.
Rect Redefine Rect structure.
ReplaceSubstringInAttr
ScriptMaker ScriptMaker creates scripts reflecting what the user does. They are designed for replay using Michael Lastufka's script engine. A ScriptMaker
SetTests
SimpleLogger An ISimpleLogger can be temporarily passed to a class which is not Dispsable in place of a TextWriter. This makes it unambiguous that the class using the logger is not responsible to dispose of it. The actual class is disposable and should normally be created in a Using clause. The logger can also track an indent.
SingleThreadedSynchronizeInvoke A simple, single-threaded implementation of ISynchronizeInvoke
SingleThreadedSynchronizeInvoke.AsyncResult
Surrogates
Test1
TextWriterStream Implementation of the COM IStream interface that wraps a C# TextWriter object. This is useful for calling the ITsString.WriteAsXml method from C# code.
Unicode A collection of utility functions related to Unicode. See also CaseFunctions, Surrogates, IcuWrappers.
UsageEmailDialog Summary description for UsageEmailDialog.
UserActivityMonitor
XmlUtils Summary description for XmlUtils.
XmlUtils.XmlResourceResolver