public IRootStartInfo Get(IStemsCoreServices stemsServices, string startResourceName) { var autoActivator = new AutoActivator(stemsServices.DependencyResolver); var rootType = _rootTypeDictionary.GetType(startResourceName); var root = (Root)autoActivator.CreateInstance(rootType); return(new DerivedRootStartInfo(root)); }
public Type GetStemType() { return(_stemTypeDictionary.GetType(_startResourceName)); }