public WindowGitDiff(IDbObjectText DbObjectText) { InitializeComponent(); var param = NinjectCore.GetParameter("DbObjectText", DbObjectText); DataContext = NinjectCore.Get <GitDiffViewModel>(param); }
public WindowFtoggle(string SelectedText) { InitializeComponent(); var param = NinjectCore.GetParameter("SelectedText", SelectedText); DataContext = NinjectCore.Get <FtoggleViewModel>(param); }