Namespace Splat
Classes
- App
Center Feature Usage Tracking Session Feature Usage Tracking Client for AppCenter.
- App
Center View Tracking View Tracking integration for AppCenter.
- App
Locator A Locator which will host the container for dependency injection based operations.
- Application
Insights View Tracking View Tracking integration for Application Insights.
- Bitmap
Loader This class loads and creates bitmap resources in a platform-independent. way.
- Bitmap
Loader Exception A exception that occurs when there is a problem using or retrieving the IBitmap
Loader .
- Default
Mode Detector 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.
- Default
Platform Mode Detector Detects if we are in design mode or unit test mode based on the current platform.
- Dependency
Resolver Mixins A set of extension methods that assist with the IDependency
Resolver and IMutableDependency interfaces.Resolver
- Exceptionless
Feature Usage Tracking Session Feature Usage Tracking integration for Exceptionless.
- Exceptionless
View Tracking Exceptionless View Tracking integration.
- Func
Dependency Resolver A lightweight adapter IDependency
Resolver that delegates all operations to supplied callbacks.
- Global
Generic First Dependency Resolver Global, generic-first implementation of IDependency
Resolver optimized for AOT compilation.
- Instance
Generic First Dependency Resolver Generic-first implementation of IDependency
Resolver 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 App
Locator which is the actual implementation. The static constructor also ensures that Splat registrations are done which is the key addition compared with AppLocator.
- Mode
Detector A helper class which detects if we are currently running via a unit test or design mode.
- Modern
Dependency Resolver 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.
- Null
Service Type Represents a placeholder service type for null service registrations.
- Platform
Mode Detector Detects various properties about a platform.
- Point
Math Extensions Extension methods which extend the point mathematics.
- Raygun
Feature Usage Tracking Session Feature Usage Tracking integration for Raygun.
- Rectangle
Math Extensions Extension methods to help with operations associated with the RectangleF struct.
- Resolver
Mixins Resolver Mixins.
- Serilog
Full Logger A full wrapping logger over Serilog.
- Service
Location Drawing Initialization Provides service location for the Splat.Drawing packages.
- Service
Location Initialization Initialization logic for Splat interacting with Dependency Resolvers.
- Size
Math Extensions Extension methods to assist with the SizeF struct.
- Target
Framework Extensions Extension methods that help to get the target framework for an assembly.
Structs
- Splat
Color 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.
- IBitmap
Loader Represents the platform-specific image loader class. Unless you are testing image loading, you don't usually need to implement this.
- IDependency
Resolver Represents a dependency resolver, a service to look up global class instances or types.
- IMode
Detector Detects if unit tests or design mode are currently running for the current application or library.
- IMutable
Dependency Resolver Represents a dependency resolver where types can be registered after setup.
- IPlatform
Mode Detector Detects properties about the current platform.
- IReadonly
Dependency Resolver An interface for interacting with a dependency resolver in a read-only fashion.
- IService
Locator 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
- Compressed
Bitmap Format Specifies that compressed bitmap format.
- Known
Color Well-known color names supported by
Splat. The underlying numeric value of each member indexes into the ARGB table used byKnownColors(ARGB format is0xAARRGGBB).
- Rect
Edge Specifies which edge of a rectangle to use.