Edytuj

Udostępnij za pośrednictwem


ApplicationPartManagerExtensions.AddFromDependencyContext Method

Definition

Overloads

AddFromDependencyContext(IApplicationPartManager)

Adds all assemblies referencing Orleans found in the application's DependencyContext.

AddFromDependencyContext(IApplicationPartManager, Assembly)

Adds all assemblies referencing Orleans found in the provided assembly's DependencyContext.

AddFromDependencyContext(IApplicationPartManager)

Source:
ApplicationPartManagerExtensions.cs

Adds all assemblies referencing Orleans found in the application's 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

Parameters

manager
IApplicationPartManager

The builder.

Returns

The builder with the additionally included assemblies.

Applies to

AddFromDependencyContext(IApplicationPartManager, Assembly)

Source:
ApplicationPartManagerExtensions.cs

Adds all assemblies referencing Orleans found in the provided assembly's 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

Parameters

manager
IApplicationPartManager

The builder.

entryAssembly
Assembly

Assembly to start looking for application parts from.

Returns

The builder with the additionally included assemblies.

Applies to