Louis.Diagnostics namespace

Classes

NameDescription
ArgumentExceptionExtensionsProvides ThrowNew extension methods for ArgumentException.
ArgumentNullExceptionExtensionsProvides ThrowNew extension methods for ArgumentNullException.
ArgumentOutOfRangeExceptionExtensionsProvides ThrowNew extension methods for ArgumentOutOfRangeException.
CriticalInternalErrorExceptionThe exception that is thrown by methods of the SelfCheck class to signal an unrecoverable condition, most probably caused by an internal error in a library or application, that should cause an application to terminate immediately.
DirectoryNotFoundExceptionExtensionsProvides ThrowNew extension methods for DirectoryNotFoundException.
EndOfStreamExceptionExtensionsProvides ThrowNew extension methods for EndOfStreamException.
ExceptionExtensionsProvides extension methods for exceptions.
ExceptionHelperProvides utility methods to construct exception messages.
FileNotFoundExceptionExtensionsProvides ThrowNew extension methods for FileNotFoundException.
FormatExceptionExtensionsProvides ThrowNew extension methods for FormatException.
IOExceptionExtensionsProvides ThrowNew extension methods for IOException.
InternalErrorExceptionThe exception that is thrown by methods of the SelfCheck class to signal a condition most probably caused by an internal error in a library or application. Do not use this class directly; use the methods of the SelfCheck class instead.
InvalidDataExceptionExtensionsProvides ThrowNew extension methods for InvalidDataException.
InvalidOperationExceptionExtensionsProvides ThrowNew extension methods for InvalidOperationException.
KeyNotFoundExceptionExtensionsProvides ThrowNew extension methods for KeyNotFoundException.
NotImplementedExceptionExtensionsProvides ThrowNew extension methods for NotImplementedException.
NotSupportedExceptionExtensionsProvides ThrowNew extension methods for NotSupportedException.
ObjectDisposedExceptionExtensionsProvides ThrowNew extension methods for ObjectDisposedException.
OperationCanceledExceptionExtensionsProvides ThrowNew extension methods for OperationCanceledException.
ParamProvides methods to check the arguments of a method.
ParamExtensionsProvides the checks of a chain that starts with Param.Check, or with one of the CheckNotNull methods of Param.
PlatformNotSupportedExceptionExtensionsProvides ThrowNew extension methods for PlatformNotSupportedException.
ReadOnlySpanParamExtensionsProvides the checks of a chain that starts with Param.Check.
RefParamExtensionsProvides the checks of a chain that starts with Param.CheckRef.
SelfCheckProvides methods to perform self-checks in library or application code.
SpanParamExtensionsProvides the checks of a chain that starts with Param.Check.
StringBuilderExtensionsProvides extension methods for StringBuilder.
ThrowNewAttributeSpecifies that the source generator of L.o.U.I.S. adds ThrowNew methods for a constructor to the exception class that declares the constructor.
ThrowNewForAttributeSpecifies that the source generator of L.o.U.I.S. adds ThrowNew extension methods for an exception type to the static class that has the attribute.
TimeoutExceptionExtensionsProvides ThrowNew extension methods for TimeoutException.
UnauthorizedAccessExceptionExtensionsProvides ThrowNew extension methods for UnauthorizedAccessException.
Win32ExceptionExtensionsProvides ThrowNew extension methods for Win32Exception.

Structs

NameDescription
Param<T>Holds the value and the name of a parameter, for a chain of checks.
ReadOnlySpanParam<T>Holds the value and the name of a read-only span parameter, for a chain of checks.
RefParam<T>Holds the value and the name of a parameter whose type can be a ref struct, for a chain of checks.
SpanParam<T>Holds the value and the name of a span parameter, for a chain of checks.

Interfaces

NameDescription
ICriticalErrorIdentifies an exception as a critical error. Critical errors indicate an unrecoverable error that should terminate an application immediately; therefore they should never be caught.