1 write to Parameters
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ActivatorUtilities.cs (1)
743
Parameters
= constructor.GetParameters();
19 references to Parameters
Microsoft.Extensions.DependencyInjection.Abstractions (19)
ActivatorUtilities.cs (19)
109
InitializeCtorArgValues(ref ctorArgs, constructor.
Parameters
.Length);
129
InitializeCtorArgValues(ref ctorArgs, constructor.
Parameters
.Length);
189
InitializeCtorArgValues(ref ctorArgs, constructor.
Parameters
.Length);
200
max = int.Max(max, constructors[i].
Parameters
.Length);
746
for (int i = 0; i <
Parameters
.Length; i++)
749
Attribute.GetCustomAttribute(
Parameters
[i], typeof(FromKeyedServicesAttribute), inherit: false);
753
_parameterKeys ??= new object?[
Parameters
.Length];
761
ParameterInfo parameterInfo =
Parameters
[parameterIndex];
781
ParameterInfo parameterInfo =
Parameters
[parameterIndex];
825
for (int applyIndex = 0; applyIndex < _constructor.
Parameters
.Length; applyIndex++)
828
_constructor.
Parameters
[applyIndex].ParameterType.IsAssignableFrom(givenType))
843
for (int i = 0; i < _constructor.
Parameters
.Length; i++)
848
if (ParameterDefaultValue.TryGetDefaultValue(_constructor.
Parameters
[i], out object? defaultValue))
859
return _constructor.
Parameters
.Length;
864
for (int index = 0; index < _constructor.
Parameters
.Length; index++)
871
if (!ParameterDefaultValue.TryGetDefaultValue(_constructor.
Parameters
[index], out object? defaultValue))
873
throw new InvalidOperationException(SR.Format(SR.UnableToResolveService, _constructor.
Parameters
[index].ParameterType, _constructor.Info.DeclaringType));
888
return _constructor.Invoker.Invoke(_parameterValues.Slice(0, _constructor.
Parameters
.Length));
905
for (int i = 0; i < _constructor.
Parameters
.Length; i++)