EnlightenmentProvider
Provides access to the platform enlightenments used by other Rx libraries to improve system performance and
runtime efficiency. While Rx can run without platform enlightenments loaded, it's recommended to deploy the
System.Reactive.PlatformServices assembly with your application and call EnsureLoaded during
application startup to ensure enlightenments are properly loaded.
namespace System.Reactive.PlatformServices
{
public static class EnlightenmentProvider
{
public static bool EnsureLoaded()
{
return PlatformEnlightenmentProvider.Current is CurrentPlatformEnlightenmentProvider;
}
}
}