Поделиться через


ApplicationPartManagerExtensions.AddFromDependencyContext Метод

Определение

Перегрузки

AddFromDependencyContext(IApplicationPartManager)

Добавляет все сборки, ссылающиеся на Орлеан, найденные в приложении DependencyContext.

AddFromDependencyContext(IApplicationPartManager, Assembly)

Добавляет все сборки, ссылающиеся на Орлеан, найденные в предоставленной сборке DependencyContext.

AddFromDependencyContext(IApplicationPartManager)

Исходный код:
ApplicationPartManagerExtensions.cs

Добавляет все сборки, ссылающиеся на Орлеан, найденные в приложении DependencyContext.

public static Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies AddFromDependencyContext (this Orleans.ApplicationParts.IApplicationPartManager manager);
static member AddFromDependencyContext : Orleans.ApplicationParts.IApplicationPartManager -> Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies
<Extension()>
Public Function AddFromDependencyContext (manager As IApplicationPartManager) As IApplicationPartManagerWithAssemblies

Параметры

manager
IApplicationPartManager

Построитель.

Возвращаемое значение

Построитель с дополнительными сборками.

Применяется к

AddFromDependencyContext(IApplicationPartManager, Assembly)

Исходный код:
ApplicationPartManagerExtensions.cs

Добавляет все сборки, ссылающиеся на Орлеан, найденные в предоставленной сборке DependencyContext.

public static Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies AddFromDependencyContext (this Orleans.ApplicationParts.IApplicationPartManager manager, System.Reflection.Assembly entryAssembly);
static member AddFromDependencyContext : Orleans.ApplicationParts.IApplicationPartManager * System.Reflection.Assembly -> Orleans.ApplicationParts.IApplicationPartManagerWithAssemblies
<Extension()>
Public Function AddFromDependencyContext (manager As IApplicationPartManager, entryAssembly As Assembly) As IApplicationPartManagerWithAssemblies

Параметры

manager
IApplicationPartManager

Построитель.

entryAssembly
Assembly

Сборка для начала поиска частей приложения.

Возвращаемое значение

Построитель с дополнительными сборками.

Применяется к