Skip to content

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

AddFromAssemblyLoadContext(HashSet<Assembly>, Assembly?)

static
View source
public static void AddFromAssemblyLoadContext(HashSet<Assembly> parts, Assembly? assembly = null)
Adds Orleans serialization application parts from the load context containing an assembly to a collection.

Parameters

partsHashSet<Assembly>
The collection to add assemblies to.
assemblyAssembly?
The assembly whose load context is inspected, or null to use the assembly containing this type.