public object Create(Type type, object[] args) { if (typeof(ViewModel).IsAssignableFrom(type)) { return(container.Locate(type)); } return(defaultTypeFactory.Create(type, args)); }
public object Create(Type type, object[] args) { if (typeof(ViewModel).IsAssignableFrom(type)) { return(container.Locate(type)); } return(defaultTypeFactory.Create(type, args)); }