コード例 #1
0
 internal void Init(DraftingVM draftingVM, string limitedRatingsSource)
 {
     WindowCardsThatDidNotWheel.Init(draftingVM.CardsThatDidNotWheelVM);
     DataContext = draftingVM;
     WindowCardPopupDrafting.Init(ViewModel);
     ViewModel.LimitedRatingsSource = limitedRatingsSource;
 }
コード例 #2
0
 internal void Init(ICollection <Card> allCards, DraftingVM draftingVM)
 {
     draftingVM.Init(allCards);
     windowCardListWheeled.Init(draftingVM.CardsThatDidntWheelVM);
     this.DataContext = draftingVM;
 }