[API Proposal]: ActivatorUtilities.CreateFactory<T>
with params span
#101889
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-Extensions-DependencyInjection
untriaged
New issue has not been triaged by the area owner
Background and motivation
The arguments passed to
CreateFactory
andObjectFactory
are usually of a fixed number so it may be worthwhile to considerparams span
for both instead of array.API Proposal
I haven't seen an addition like this so far so I'm not sure about the naming convention.
API Usage
Alternative Designs
An alternative is to consider making the return type a generic delegate over argument types.
Risks
No response
The text was updated successfully, but these errors were encountered: