Table of Contents

Namespace Splat

Classes

AppCenterFeatureUsageTrackingSession

Feature Usage Tracking Client for AppCenter.

AppCenterViewTracking

View Tracking integration for AppCenter.

AppLocator

A Locator which will host the container for dependency injection based operations.

ApplicationInsightsViewTracking

View Tracking integration for Application Insights.

BitmapLoader

This class loads and creates bitmap resources in a platform-independent. way.

BitmapLoaderException

A exception that occurs when there is a problem using or retrieving the IBitmapLoader.

DefaultModeDetector

Provides a mechanism to detect if the current execution context is a unit test using various heuristics such as environment signals, process names, and legacy assembly scans.

DefaultPlatformModeDetector

Detects if we are in design mode or unit test mode based on the current platform.

DependencyResolverMixins

A set of extension methods that assist with the IDependencyResolver and IMutableDependencyResolver interfaces.

ExceptionlessFeatureUsageTrackingSession

Feature Usage Tracking integration for Exceptionless.

ExceptionlessViewTracking

Exceptionless View Tracking integration.

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

A Locator which will host the container for dependency injection based operations. This is now a wrapper around AppLocator which is the actual implementation. The static constructor also ensures that Splat registrations are done which is the key addition compared with AppLocator.

ModeDetector

A helper class which detects if we are currently running via a unit test or design mode.

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 placeholder service type for null service registrations.

PlatformModeDetector

Detects various properties about a platform.

PointMathExtensions

Extension methods which extend the point mathematics.

RaygunFeatureUsageTrackingSession

Feature Usage Tracking integration for Raygun.

RectangleMathExtensions

Extension methods to help with operations associated with the RectangleF struct.

ResolverMixins

Resolver Mixins.

SerilogFullLogger

A full wrapping logger over Serilog.

ServiceLocationDrawingInitialization

Provides service location for the Splat.Drawing packages.

ServiceLocationInitialization

Initialization logic for Splat interacting with Dependency Resolvers.

SizeMathExtensions

Extension methods to assist with the SizeF struct.

TargetFrameworkExtensions

Extension methods that help to get the target framework for an assembly.

Structs

SplatColor

A platform independent color structure.

Interfaces

IBitmap

Represents a bitmap image that was loaded via a ViewModel. Every platform provides FromNative and ToNative methods to convert this object to the platform-specific versions.

IBitmapLoader

Represents the platform-specific image loader class. Unless you are testing image loading, you don't usually need to implement this.

IDependencyResolver

Represents a dependency resolver, a service to look up global class instances or types.

IModeDetector

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

IMutableDependencyResolver

Represents a dependency resolver where types can be registered after setup.

IPlatformModeDetector

Detects properties about the current platform.

IReadonlyDependencyResolver

An interface for interacting with a dependency resolver in a read-only fashion.

IServiceLocator

A generic-first service locator interface for AOT-friendly dependency resolution. This interface provides only generic methods to avoid reflection and support ahead-of-time compilation.

Enums

CompressedBitmapFormat

Specifies that compressed bitmap format.

KnownColor

Well-known color names supported by Splat. The underlying numeric value of each member indexes into the ARGB table used by KnownColors (ARGB format is 0xAARRGGBB).

RectEdge

Specifies which edge of a rectangle to use.