internal PlatformRenderer(Platform platform) { Platform = platform; #pragma warning disable CS0618 // Type or member is obsolete View = new NSView(NSApplication.SharedApplication.Windows[0].Frame); #pragma warning restore CS0618 // Type or member is obsolete _platformNavigation = new PlatformNavigation(this); }
protected override void Dispose(bool disposing) { if (!_disposed) { _platformNavigation.Dispose(); _platformNavigation = null; } _disposed = true; base.Dispose(disposing); }
internal PlatformRenderer(Platform platform) { Platform = platform; View = new NSView(NSApplication.SharedApplication.Windows[0].Frame); _platformNavigation = new PlatformNavigation(this); }