public void Initialize(InternalBlameViewModel model) { Control.DataContext = model; Show(); }
void ShowInternalBlameInternal(string filePath, int?lineNumber, Action <InternalBlameViewModel> attachBlameControlHandler) { InternalBlameViewModel model = new InternalBlameViewModel(filePath, lineNumber, toolWindowViewModel); attachBlameControlHandler(model); }