Click or drag to resize

AssemblyResolver Class

Utility class for assembly probing.
Inheritance Hierarchy
SystemObject
  csscriptAssemblyResolver

Namespace:  csscript
Assembly:  CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0
Syntax
C#
public class AssemblyResolver

The AssemblyResolver type exposes the following members.

Constructors
  NameDescription
Public methodAssemblyResolver
Initializes a new instance of the AssemblyResolver class
Top
Methods
  NameDescription
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 methodStatic memberFindAssembly
Resolves namespace/assembly(file) name into array of assembly locations (local and GAC ones).
Public methodStatic memberFindGlobalAssembly
Resolves namespace into array of global assembly (GAC) locations.

NOTE: this method does nothing on .NET Core as it offers no GAC discovery mechanism.

Public methodStatic memberFindLocalAssembly
Resolves namespace into array of local assembly locations. (Currently it returns only one assembly location but in future it can be extended to collect all assemblies with the same namespace)
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 memberIsLegalPathToken
Determines whether the string is a legal path token.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberignoreFileName
File to be excluded from assembly search
Top
See Also