static TestBase() { #if PERSPEX_CAIRO CairoPlatform.Initialize(); #else Direct2D1Platform.Initialize(); #endif }
static TestBase() { #if AVALONIA_CAIRO CairoPlatform.Initialize(); #elif AVALONIA_SKIA SkiaPlatform.Initialize(); #else Direct2D1Platform.Initialize(); #endif }
static TestBase() { #if AVALONIA_CAIRO CairoPlatform.Initialize(); #elif AVALONIA_SKIA SkiaPlatform.Initialize(); #else Direct2D1Platform.Initialize(); #endif AvaloniaLocator.CurrentMutable .Bind <IPlatformThreadingInterface>() .ToConstant(threadingInterface); }
public App() : base(new DefaultTheme()) { this.RegisterServices(); #if PERSPEX_CAIRO CairoPlatform.Initialize(); #else Direct2D1Platform.Initialize(); #endif #if PERSPEX_GTK GtkPlatform.Initialize(); #else Win32Platform.Initialize(); #endif }