Show / Hide Table of Contents

Class DefaultAssemblyLoader

The default assembly loader.

Inheritance
System.Object
DefaultAssemblyLoader
Implements
IAssemblyLoader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultAssemblyLoader : IAssemblyLoader

Constructors

| Improve this Doc View Source

DefaultAssemblyLoader()

Initializes a new instance of the DefaultAssemblyLoader class.

Declaration
public DefaultAssemblyLoader()

Methods

| Improve this Doc View Source

LoadAssembly(AssemblyName)

Attempts to load an assembly.

Declaration
public Assembly LoadAssembly(AssemblyName assemblyName)
Parameters
Type Name Description
System.Reflection.AssemblyName assemblyName

The name of the assembly to be loaded.

Returns
Type Description
System.Reflection.Assembly

The resolved assembly reference.

| Improve this Doc View Source

LoadAssemblyFromPath(String)

Attempts to load an assembly.

Declaration
public Assembly LoadAssemblyFromPath(string assemblyFilePath)
Parameters
Type Name Description
System.String assemblyFilePath

The file path of the assembly to be loaded.

Returns
Type Description
System.Reflection.Assembly

The resolved assembly reference.

| Improve this Doc View Source

TryResolveAssembly(AssemblyLoadContext, AssemblyName)

Tries to resolve the assembly.

Declaration
protected virtual Assembly TryResolveAssembly(AssemblyLoadContext assemblyLoadContext, AssemblyName assemblyName)
Parameters
Type Name Description
System.Runtime.Loader.AssemblyLoadContext assemblyLoadContext

Context for the assembly load.

System.Reflection.AssemblyName assemblyName

Name of the assembly.

Returns
Type Description
System.Reflection.Assembly

The resolved assembly or null.

Implements

IAssemblyLoader

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX