Edit

Share via


ApplicationPartManagerExtensions Class

Definition

Extensions for working with ApplicationPartManager.

public static class ApplicationPartManagerExtensions
type ApplicationPartManagerExtensions = class
Public Module ApplicationPartManagerExtensions
Inheritance
ApplicationPartManagerExtensions

Methods

AddApplicationPart(IApplicationPartManager, Assembly)

Adds the provided assembly to the builder.

AddFrameworkPart(IApplicationPartManager, Assembly)

Adds the provided assembly to the builder as a framework assembly.

AddFromAppDomain(IApplicationPartManager)

Adds assemblies from the current AppDomain to the builder.

AddFromApplicationBaseDirectory(IApplicationPartManager)

Adds assemblies from the current BaseDirectory to the builder.

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.

ConfigureDefaults(IApplicationPartManager)

Adds default application parts if no non-framework parts have been added.

CreateAndPopulateFeature<TFeature>(IApplicationPartManager)

Creates and populates a feature.

GetApplicationPartManager(HostBuilderContext)

Returns the ApplicationPartManager for the provided context.

GetApplicationPartManager(HostBuilderContext)

Returns the ApplicationPartManager for the provided context.

WithReferences(IApplicationPartManagerWithAssemblies)

Adds all assemblies referenced by the assemblies in the builder's Assemblies property.

Applies to