public MvxMacViewPresenter(NSApplicationDelegate applicationDelegate) { _applicationDelegate = applicationDelegate; _windows = new List <NSWindow>(); _attributeTypesToShowMethodDictionary = new Dictionary <Type, Action <NSViewController, MvxBasePresentationAttribute, MvxViewModelRequest> >(); RegisterAttributeTypes(); }
public AutoSuspendHelper(NSApplicationDelegate appDelegate) { Reflection.ThrowIfMethodsNotOverloaded("AutoSuspendHelper", appDelegate, "ApplicationShouldTerminate", "DidFinishLaunching", "DidResignActive", "DidBecomeActive", "DidHide"); RxApp.SuspensionHost.IsLaunchingNew = Observable <Unit> .Never; RxApp.SuspensionHost.IsResuming = isResuming; RxApp.SuspensionHost.IsUnpausing = isUnpausing; RxApp.SuspensionHost.ShouldPersistState = shouldPersistState; var untimelyDemise = new Subject <Unit>(); AppDomain.CurrentDomain.UnhandledException += (o, e) => untimelyDemise.OnNext(Unit.Default); RxApp.SuspensionHost.ShouldInvalidateState = untimelyDemise; }
public CustomViewPresenter(NSApplicationDelegate appDelegate, NSWindow window) : base(appDelegate, window) { }
public MvxMacViewPresenter(NSApplicationDelegate applicationDelegate, NSWindow window) { _applicationDelegate = applicationDelegate; _window = window; }
public void Initialize(NSApplicationDelegate appdelegate) { AppDelegate = appdelegate; Callback.OnInitialized(Widget, EventArgs.Empty); }
public MvxMacViewPresenter(NSApplicationDelegate applicationDelegate, NSWindow window) { this._applicationDelegate = applicationDelegate; this._window = window; }
public MvxMultiRegionMacViewPresenter(NSApplicationDelegate appDelegate, NSWindow window) : base(appDelegate, window) { }
public MvxMacViewPresenter(NSApplicationDelegate applicationDelegate) { _applicationDelegate = applicationDelegate; _windows = new List <NSWindow>(); }
public static void SetCurrentApplication(NSApplicationDelegate value) => _current = value;
public void Initialize(NSApplicationDelegate appdelegate) { AppDelegate = appdelegate; Widget.OnInitialized(EventArgs.Empty); }
public MvxMacViewPresenter(NSApplicationDelegate applicationDelegate) { _applicationDelegate = applicationDelegate; }