Skip to content

ReferencedAssemblyProvider.AddFromDependencyContext(HashSet<Assembly>, Assembly?)

AddFromDependencyContext(HashSet<Assembly>, Assembly?)

static
View source
public static void AddFromDependencyContext(HashSet<Assembly> parts, Assembly? assembly = null)
Adds Orleans serialization application parts from an assembly's dependency context to a collection.

Parameters

partsHashSet<Assembly>
The collection to add assemblies to.
assemblyAssembly?
The assembly whose dependency context is inspected, or null to use the entry assembly.