예제 #1
0
        static BitmapLoader()
        {
            var platBitmapLoader = AssemblyFinder.AttemptToLoadType <IBitmapLoader>("Splat.PlatformBitmapLoader");

            _Current = platBitmapLoader;
        }
예제 #2
0
 /// <summary>
 /// Initializes static members of the <see cref="ModeDetector"/> class.
 /// </summary>
 static ModeDetector()
 {
     Current = AssemblyFinder.AttemptToLoadType <IModeDetector>(DetectPlatformDetectorName);
 }
예제 #3
0
        static ModeDetector()
        {
            var platModeDetector = AssemblyFinder.AttemptToLoadType <IModeDetector>("Splat.PlatformModeDetector");

            current = platModeDetector;
        }