Click or drag to resize

LoadContextIntoDefault Methods

The LoadContextIntoDefault type exposes the following members.

Methods
 NameDescription
Public methodEnterContextualReflectionSets CurrentContextualReflectionContext to thisAssemblyLoadContext.
(Inherited from AssemblyLoadContext)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows the object to try to free resources and perform other cleanup operations before it's reclaimed by garbage collection.
(Inherited from AssemblyLoadContext)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodLoad Allows an assembly to be resolved and loaded based on its AssemblyName. Here, we first look into the current application domain, and if an assembly with the same name is already loaded, we return this assembly. Otherwise, we try to resolve the assembly name, and then load the assembly into the Default (!) context (and not in the context represented by this instance).
(Overrides AssemblyLoadContextLoad(AssemblyName))
Public methodLoadFromAssemblyNameResolves and loads an assembly given its AssemblyName.
(Inherited from AssemblyLoadContext)
Public methodLoadFromAssemblyPathLoads the contents of an assembly file on the specified path.
(Inherited from AssemblyLoadContext)
Public methodLoadFromNativeImagePathLoads the contents of the native image of a managed assembly file on the specified path.
(Inherited from AssemblyLoadContext)
Public methodLoadFromStream(Stream)Loads the assembly with a common object file format (COFF)-based image containing a managed assembly.
(Inherited from AssemblyLoadContext)
Public methodLoadFromStream(Stream, Stream)Loads the assembly with a common object file format (COFF)-based image containing a managed assembly, optionally including symbols for the assembly.
(Inherited from AssemblyLoadContext)
Protected methodLoadUnmanagedDll Load an unmanaged library by name.
(Overrides AssemblyLoadContextLoadUnmanagedDll(String))
Protected methodLoadUnmanagedDllFromPathLoads an unmanaged library from the specified path.
(Inherited from AssemblyLoadContext)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetProfileOptimizationRootSets the root path where the optimization profiles for this load context are stored.
(Inherited from AssemblyLoadContext)
Public methodStartProfileOptimizationStarts the profile optimization for the specified profile.
(Inherited from AssemblyLoadContext)
Public methodToStringReturns the string representation of this load context.
(Inherited from AssemblyLoadContext)
Public methodUnloadInitiates an unload of this AssemblyLoadContext.
(Inherited from AssemblyLoadContext)
Top
See Also