public GetFotoViewModel(SchellViewModel schell) { this.schell = schell; var EA = EventAgg.Agregator; MainPanel = new FlopyViewModel(this); EventAggregator = EA.EventAggregator; EventAggregator.Subscribe(this); }
public StartViewModel(SchellViewModel schel, IEventAggregator eventAggregator) { EventAggregator = eventAggregator; _schell = schel; }