public void BakeAll()
        {
            BakeTriggeredEventArgs args = new BakeTriggeredEventArgs(this.Satellites);

            this.OnBakeTriggered(args);
        }
        public void OnBakeTriggered(BakeTriggeredEventArgs e)
        {
            EventHandler handler = BakeTriggered;

            handler?.Invoke(this, e);
        }
        private void SatelliteCard_BakeTriggered(object sender, EventArgs e)
        {
            BakeTriggeredEventArgs args = e as BakeTriggeredEventArgs;

            OnBakeTriggered(args);
        }
예제 #4
0
        private void CoreViewModel_BakeTriggered(object sender, EventArgs e)
        {
            BakeTriggeredEventArgs args = e as BakeTriggeredEventArgs;

            this.Bake(args.Satellites);
        }