.NET/Link API Version 1.7 USE FRAMES

TypeLoader Class

TypeLoader is the class responsible for loading all assemblies and types from the Mathematica functions LoadNETAssembly and LoadNETType.

For a list of all members of this type, see TypeLoader Members.

System.Object
   Wolfram.NETLink.TypeLoader

[Visual Basic]
Public Class TypeLoader
[C#]
public class TypeLoader

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Use the methods in this class to load types and assemblies if you want to have the same type-finding ability in your .NET code as Mathematica has in its LoadNETType and LoadNETAssembly functions.

The methods in this class can be used in place of Assembly.Load() (and related methods) and Type.GetType(). It can load assemblies via path, URL, or name. You don't have to call this GetType method in order to get the full power of .NET/Link's type-finding mechanism. This is just a convenience function. We hook the ResolveEvent's for assemblies and types and put the search logic in there, so it is always called no matter how you try to load a type. If you just call Type.GetType("name"), though, you cannot specify an as-yet-unloaded assembly--you just get a search through all loaded assemblies.

Requirements

Namespace: Wolfram.NETLink

Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll)

See Also

TypeLoader Members | Wolfram.NETLink Namespace