static BitmapLoader() { var platBitmapLoader = AssemblyFinder.AttemptToLoadType <IBitmapLoader>("Splat.PlatformBitmapLoader"); _Current = platBitmapLoader; }
/// <summary> /// Initializes static members of the <see cref="ModeDetector"/> class. /// </summary> static ModeDetector() { Current = AssemblyFinder.AttemptToLoadType <IModeDetector>(DetectPlatformDetectorName); }
static ModeDetector() { var platModeDetector = AssemblyFinder.AttemptToLoadType <IModeDetector>("Splat.PlatformModeDetector"); current = platModeDetector; }