Registers a default value factory for the given key.
key
public void Register(Type key, Func<Type, object> factory)