public void GetModelClasses() { if (modelClasses == null) { modelClasses = new List<MvcModelClassViewModel>(); foreach (IMvcClass mvcClass in GetModelClassesFromProject()) { var modelClassViewModel = new MvcModelClassViewModel(mvcClass); modelClasses.Add(modelClassViewModel); } } }
public void GetModelClasses() { if (modelClasses == null) { modelClasses = new List <MvcModelClassViewModel>(); foreach (IMvcClass mvcClass in GetModelClassesFromProject()) { var modelClassViewModel = new MvcModelClassViewModel(mvcClass); modelClasses.Add(modelClassViewModel); } } }
void CreateViewModel(string fullyQualifiedClassName) { fakeClass = new FakeMvcClass(fullyQualifiedClassName); viewModel = new MvcModelClassViewModel(fakeClass); }
void CreateViewModel(string classNamespace, string className) { fakeClass = new FakeMvcClass(classNamespace, className); viewModel = new MvcModelClassViewModel(fakeClass); }