Table of Contents

Namespace Splat

Classes

AppCenterFeatureUsageTrackingSession

Represents a feature usage tracking session that reports usage events and exceptions to App Center Analytics and Crashes.

AppCenterViewTracking

Provides view tracking functionality for navigation events, enabling integration with App Center Analytics.

AppLocator

Provides a global access point for dependency resolution within the application, allowing services and types to be registered and retrieved at runtime.

ApplicationInsightsViewTracking

Provides view tracking functionality that records page view navigation events using Application Insights telemetry.

BitmapLoader

Provides access to the current bitmap loader used for loading bitmap images within the application.

BitmapLoaderException

Represents errors that occur during bitmap loading operations.

DefaultModeDetector

Provides a default implementation for detecting whether the current process is running within a unit test environment.

DefaultPlatformModeDetector

Provides a default implementation for detecting whether the application is running in design mode across supported platforms.

DependencyResolverMixins

Provides extension methods for registering and managing dependency resolvers and service instances in a dependency injection system.

ExceptionlessFeatureUsageTrackingSession

Represents a feature usage tracking session that reports usage and exceptions to Exceptionless using unique identifiers for each feature instance.

ExceptionlessViewTracking

Provides view tracking functionality by recording view navigation events using an Exceptionless client.

FuncDependencyResolver

A lightweight adapter IDependencyResolver that delegates all operations to supplied callbacks.

GlobalGenericFirstDependencyResolver

Global, generic-first implementation of IDependencyResolver optimized for AOT compilation.

InstanceGenericFirstDependencyResolver

Generic-first implementation of IDependencyResolver optimized for AOT compilation, with per-resolver instance isolation using resolver-local state.

Locator

Provides access to the application's dependency resolver and related functionality for service location and registration. This is now a wrapper around AppLocator which is the actual implementation.

ModeDetector

Provides static methods for detecting the current execution mode, such as whether the code is running under a unit test runner. Allows overriding the mode detection logic for testing or customization purposes.

ModernDependencyResolver

This class is a dependency resolver written for modern C# 5.0 times. It implements all registrations via a Factory method. With the power of Closures, you can actually implement most lifetime styles (i.e. construct per call, lazy construct, singleton) using this.

Unless you have a very compelling reason not to, this is the only class you need in order to do dependency resolution, don't bother with using a full IoC container.

NullServiceType

Represents a service type that always returns null when resolved. Used as a placeholder or marker in dependency injection scenarios where a service is intentionally absent.

PlatformModeDetector

Provides methods to detect whether the application is running in design mode, such as within a GUI design editor. Allows overriding the platform mode detection logic for customization or testing purposes.

PointMathExtensions

Provides extension methods for performing common mathematical operations on Point and PointF structures.

RaygunFeatureUsageTrackingSession

Represents a feature usage tracking session that reports feature usage events to Raygun.

RectangleMathExtensions

Provides extension methods for performing advanced mathematical and geometric operations on RectangleF instances.

ResolverMixins

Provides extension methods for registering services, factories, and singleton instances with an IMutableDependencyResolver in a fluent manner.

SerilogFullLogger

Provides a full-featured logger implementation that writes log events to Serilog using the IFullLogger interface.

ServiceLocationDrawingInitialization

Provides methods for initializing platform-specific bitmap loader services for service location.

ServiceLocationInitialization

Provides extension methods for registering the default service implementations required by the Splat module with a dependency resolver.

SizeMathExtensions

Provides extension methods for performing mathematical operations on SizeF instances.

TargetFrameworkExtensions

Provides extension methods for retrieving target framework information from assemblies.

Structs

SplatColor

Represents an ARGB color value with support for known, named, and system colors, as well as utility methods for color manipulation and comparison.

Interfaces

IBitmap

Defines an interface for a bitmap image that supports retrieving its dimensions and saving the image in a compressed format. Every platform provides FromNative and ToNative methods to convert this object to the platform-specific versions.

IBitmapLoader

Defines methods for loading and creating bitmap images from various sources. Unless you are testing image loading, you don't usually need to implement this.

IDependencyResolver

Represents a dependency resolver that supports both read-only and mutable operations, as well as resource cleanup.

IModeDetector

Detects if unit tests or design mode are currently running for the current application or library.

IMutableDependencyResolver

Represents a mutable dependency resolver that allows for the registration, unregistration, and querying of service factories and instances at runtime. Enables dynamic management of service lifetimes and contracts within a dependency injection system.

IPlatformModeDetector

Provides a mechanism for determining whether the current process is running within a graphical user interface (GUI) design environment.

IReadonlyDependencyResolver

Defines a read-only contract for resolving service instances and collections by type and optional contract identifier.

IServiceLocator

Defines a contract for registering, retrieving, and managing service instances by type and optional contract name. Enables dependency resolution and service location within an application or component.

Enums

CompressedBitmapFormat

Specifies the available formats for storing a compressed bitmap image.

KnownColor

Specifies a set of predefined colors that are recognized by name and can be used in color-related APIs. (ARGB format is 0xAARRGGBB).

RectEdge

Specifies which edge of a rectangle to use.