object IViewLocator.ResolveView(string name) { Type type; return(types.TryGetValue(name, out type) ? Activator.CreateInstance(type) : innerViewLocator.With(i => i.ResolveView(name))); }