protected void FireLifetimeChange(MvxLifetimeEvent which) { var handler = LifetimeChanged; handler?.Invoke(this, new MvxLifetimeEventArgs(which)); }
private void FireLifetimeChanged(MvxLifetimeEvent which) { var handler = LifetimeChanged; if (handler != null) { handler(this, new MvxLifetimeEventArgs(which)); } }
private void FireLifetimeChanged(MvxLifetimeEvent which) { var handler = LifetimeChanged; handler?.Invoke(this, new MvxLifetimeEventArgs(which)); }
private void FireLifetimeChanged(MvxLifetimeEvent which) { LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which)); }
/* public override void WillEnterForeground (NSApplication application) { FireLifetimeChanged(MvxLifetimeEvent.ActivatedFromMemory); } public override void DidEnterBackground (NSApplication application) { FireLifetimeChanged(MvxLifetimeEvent.Deactivated); } public override void WillTerminate (NSApplication application) { FireLifetimeChanged(MvxLifetimeEvent.Closing); } public override void FinishedLaunching (NSApplication application) { FireLifetimeChanged(MvxLifetimeEvent.Launching); } */ private void FireLifetimeChanged(MvxLifetimeEvent which) { var handler = LifetimeChanged; if (handler != null) handler(this, new MvxLifetimeEventArgs(which)); }
private void FireLifetimeChanged(MvxLifetimeEvent which) { var handler = this.LifetimeChanged; handler?.Invoke(this, new MvxLifetimeEventArgs(which)); }
public MvxLifetimeEventArgs(MvxLifetimeEvent lifetimeEvent) { LifetimeEvent = lifetimeEvent; }
protected void FireLifetimeChange(MvxLifetimeEvent which) { LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which)); }
protected void FireLifetimeChange(MvxLifetimeEvent which) { var handler = this.LifetimeChanged; handler?.Invoke(this, new MvxLifetimeEventArgs(which)); }
protected void FireLifetimeChange(MvxLifetimeEvent which) #pragma warning restore CA1030 // Use events where appropriate { LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which)); }