public static ValueTask ExecuteAsync(
IFinder<WebRegistratorImportingItem> finder,
IServiceCollection services,
Func<IServiceCollection, CancellationToken, ValueTask>? serviceInitializerFuncAsync = null,
List<string>? referenceList = null,
CancellationToken cancellationToken = default
)
Public Shared Function ExecuteAsync (
finder As IFinder(Of WebRegistratorImportingItem),
services As IServiceCollection,
Optional serviceInitializerFuncAsync As Func(Of IServiceCollection, CancellationToken, ValueTask) = Nothing,
Optional referenceList As List(Of String) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
static ValueTask ExecuteAsync(
IFinder<WebRegistratorImportingItem^>^ finder,
IServiceCollection^ services,
Func<IServiceCollection^, CancellationToken, ValueTask>^ serviceInitializerFuncAsync = nullptr,
List<String^>^ referenceList = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
static member ExecuteAsync :
finder : IFinder<WebRegistratorImportingItem> *
services : IServiceCollection *
?serviceInitializerFuncAsync : Func<IServiceCollection, CancellationToken, ValueTask> *
?referenceList : List<string> *
?cancellationToken : CancellationToken
(* Defaults:
let _serviceInitializerFuncAsync = defaultArg serviceInitializerFuncAsync null
let _referenceList = defaultArg referenceList null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
Список полных путей до сборок, которые необходимо подключить, прежде чем расширения будут загружены, или null, если таких сборок нет.
Сборки не загружаются, если после сканирования сборок с расширениями не найден ни один регистратор.