Namespace Splat
Classes
- Action
Logger A logger where you pass in Action delegates that will be invoked when the Write methods are invoked.
- Allocation
Free Logger Base Base class for a logger the provides allocation free logging.
- App
Center Feature Usage Tracking Session Feature Usage Tracking Client for AppCenter.
- App
Center View Tracking View Tracking integration for AppCenter.
- 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 .
- Console
Logger A logger which will send messages to the console.
- Debug
Logger A logger which will send messages to the debug logger.
- Default
Log Manager The default log manager provided by splat. This log manager will cache the loggers for each type, This will use the default registered ILogger inside the Locator.
- Default
Mode Detector Contains the default mode detector to detect if we are currently in a unit test.
- 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.
- Full
Logger Extensions Provides extension methods to the IFull
Logger interface.
- Func
Dependency Resolver A simple dependency resolver which takes Funcs for all its actions. GetService is always implemented via GetServices().LastOrDefault(). This container is not thread safe.
- Func
Log Manager A log manager which will generate the IFull
Logger by using the specified Func.
- Locator
A Locator which will host the container for dependency injection based operations.
- Log
Host Contains helper methods to get access to the Default IFull
Logger .
- Log
Manager Mixin Extension methods associated with the logging module.
- Logging
Exception A exception that occurs when there is a problem using the logging module.
- MemoizingMRUCache<TParam, TVal>
This data structure is a representation of a memoizing cache - i.e. a class that will evaluate a function, but keep a cache of recently evaluated parameters.
Since this is a memoizing cache, it is important that this function be a "pure" function in the mathematical sense - that a key *always* maps to a corresponding return value.
- Mode
Detector A helper class which detect 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.
This container is not thread safe.
- Null
Logger a logger which will never emit any value.
- Null
Service Type Null Service Type.
- 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 Initialization Initialization logic for Splat interacting with Dependency Resolvers.
- Size
Math Extensions Extension methods to assist with the SizeF struct.
- Static
Full Logger A full logger which used by the default static logger to allow capture of .NET framework caller data. Wraps a IFull
Logger .
- Target
Framework Extensions Extension methods that help to get the target framework for a assembly.
- Wrapping
Full Logger A full logger which wraps a ILogger.
- Wrapping
Log Level Logger A prefix logger which wraps a ILogger.
- Wrapping
Prefix Logger A prefix logger which wraps a ILogger.
Structs
- Splat
Color A platform independent color structure.
Interfaces
- IAllocation
Free Error Logger An allocation free exception logger which wraps all the possible logging methods available. Often not needed for your own loggers. A Wrapping
Full will wrap simple loggers into a full logger.Logger
- IAllocation
Free Logger An allocation free logger which wraps all the possible logging methods available. Often not needed for your own loggers. A Wrapping
Full will wrap simple loggers into a full logger.Logger
- 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.
- IEnable
Logger "Implement" this interface in your class to get access to the Log() Mixin, which will give you a Logger that includes the class name in the log.
- IFull
Logger A full logger which wraps all the possible logging methods available. Often not needed for your own loggers. A Wrapping
Full will wrap simple loggers into a full logger.Logger
- ILog
Manager A manaager which will generate a IFull
Logger for the specified type.
- ILogger
Represents a log target where messages can be written to.
- 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.
- IStatic
Full Logger Represents the logging interface for the Static Default Logger.
Enums
- Compressed
Bitmap Format Specifies that compressed bitmap format.
- Rect
Edge Specified which edge of a rectangle to use.