Pass args into type activator
\n\nCommit migrated from a787ee2870
This commit is contained in:
parent
7960bde7da
commit
a623a5c20f
|
|
@ -168,7 +168,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
|||
throw new ArgumentNullException(nameof(name));
|
||||
}
|
||||
|
||||
return AddTypeActivatedCheck<T>(builder, name, failureStatus: null, tags: null);
|
||||
return AddTypeActivatedCheck<T>(builder, name, failureStatus: null, tags: null, args);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -203,7 +203,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
|||
throw new ArgumentNullException(nameof(name));
|
||||
}
|
||||
|
||||
return AddTypeActivatedCheck<T>(builder, name, failureStatus, tags: null);
|
||||
return AddTypeActivatedCheck<T>(builder, name, failureStatus, tags: null, args);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue