protected void FireLifetimeChange(MvxLifetimeEvent which)
 {
     var handler = LifetimeChanged;
     handler?.Invoke(this, new MvxLifetimeEventArgs(which));
 }
예제 #2
0
        private void FireLifetimeChanged(MvxLifetimeEvent which)
        {
            var handler = LifetimeChanged;

            if (handler != null)
            {
                handler(this, new MvxLifetimeEventArgs(which));
            }
        }
예제 #3
0
        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));
 }
예제 #5
0
		/*
        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)
 {
     LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which));
 }
예제 #7
0
 private void FireLifetimeChanged(MvxLifetimeEvent which)
 {
     var handler = this.LifetimeChanged;
     handler?.Invoke(this, new MvxLifetimeEventArgs(which));
 }
예제 #8
0
 public MvxLifetimeEventArgs(MvxLifetimeEvent lifetimeEvent)
 {
     LifetimeEvent = lifetimeEvent;
 }
예제 #9
0
 protected void FireLifetimeChange(MvxLifetimeEvent which)
 {
     LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which));
 }
예제 #10
0
        protected void FireLifetimeChange(MvxLifetimeEvent which)
        {
            var handler = this.LifetimeChanged;

            handler?.Invoke(this, new MvxLifetimeEventArgs(which));
        }
예제 #11
0
        protected void FireLifetimeChange(MvxLifetimeEvent which)
#pragma warning restore CA1030 // Use events where appropriate
        {
            LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which));
        }
예제 #12
0
 protected void FireLifetimeChange(MvxLifetimeEvent which)
 {
     LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which));
 }
예제 #13
0
 public MvxLifetimeEventArgs(MvxLifetimeEvent lifetimeEvent)
 {
     LifetimeEvent = lifetimeEvent;
 }