AssemblyLoader Class
Namespace: PTS
Assembly: PTSframework.dll
Pre-loads all referenced assemblies into current AppDomain
.
Syntax
public static class AssemblyLoader
Inheritance
System.Object
AssemblyLoader
Fields
AssembliesFromFiles
Look for assembly files to load in application folder.
Declaration
public static bool AssembliesFromFiles
Field Value
Type | Description |
---|---|
System.Boolean |
RequireAllDependencies
If set to true
then exception will be thrown if a referenced assembly is missing.
Declaration
public static bool RequireAllDependencies
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
Assemblies
Gets all assemblies referenced in current domain.
Declaration
public static Assembly[] Assemblies { get; }
Property Value
Type | Description |
---|---|
System.Reflection.Assembly[] |
Types
Gets system types found in all current domain assemblies.
Declaration
public static Type[] Types { get; }
Property Value
Type | Description |
---|---|
System.Type[] |
Methods
LoadAssemblies()
Loads all assemblies in entire dependency tree into current AppDomain.
Declaration
public static void LoadAssemblies()
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()