ApplicationPartManagerExtensions.AddFromDependencyContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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.