Click or drag to resize

AssemblyResolver Methods

The AssemblyResolver type exposes the following members.

Methods
  NameDescription
Public methodAddAssembly
Add assembly to list of assemblies, loading by name

If assembly is not loaded, an exception is thrown.

Public methodStatic memberCreateAssemblyLongName
Create a fully qualified assembly name (long name) from its short name. The fully qualified name will automatically be updated with new version numbers whenever the MIKE version number is incremented.

For example if inputting "DHI.Mike1D.Generic", the outcome will be

"DHI.Mike1D.Generic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=c513450b5d0bf0bf"
which can be used directly in the Load(String) method.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoadAssembly
Static method to load assembly based on its fully qualified name, or from a file path.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResolveAssembly
Resolve assembly

To bind to

AppDomain.CurrentDomain.AssemblyResolve
event.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also