public ViewModel( /*SyncObject.*/Model syncObjectModel, BannerRetrieverModel bannerRetrieverModel, IconRetrieverModel iconRetrieverModel ) { this.Initialize( syncObjectModel, bannerRetrieverModel, iconRetrieverModel ); this.RegisterPropertyChangedEvents(); }
private void Initialize( /*SyncObject.*/Model syncObjectModel, BannerRetrieverModel bannerRetrieverModel, IconRetrieverModel iconRetrieverModel ) { this.Model = syncObjectModel; this.FullyAutomaticSyncVM = new FullyAutomaticSync.ViewModel( this.Model.FullyAutoSyncModel ); this.SemiautoSyncVM = new SemiautomaticSync.ViewModel( this.Model.SemiautomaticSyncModel ); this._bannerRetrieverModel = bannerRetrieverModel; this._iconRetrieverModel = iconRetrieverModel; }