public LinkFileWindow(Dictionary <int, FileTypeEntity> aFileTypeDictionary) { InitializeComponent(); linkFileViewModel = new LinkFileViewModel(this, aFileTypeDictionary); this.DataContext = linkFileViewModel; }
public LinkFileWindow(LinkFileViewModel aLinkFileViewModel) { InitializeComponent(); linkFileViewModel = aLinkFileViewModel; this.DataContext = linkFileViewModel; }