C# Class Stetic.AssemblyResolver

Inheritance: Mono.Cecil.BaseAssemblyResolver
Show file Open project: mono/stetic Class Usage Examples

Public Properties

Property Type Description
Directories System.Collections.Specialized.StringCollection

Public Methods

Method Description
AssemblyResolver ( ApplicationBackend app ) : System
CacheAssembly ( AssemblyDefinition assembly ) : void
Resolve ( Mono.Cecil.AssemblyNameReference name ) : AssemblyDefinition
Resolve ( TypeReference type ) : Mono.Cecil.TypeDefinition
Resolve ( Mono.Cecil.AssemblyNameReference name, StringCollection basePaths ) : string
Resolve ( string assemblyName, string basePath ) : string

Private Methods

Method Description
GetAssemblyFile ( Mono.Cecil.AssemblyNameReference reference, string gac ) : string
GetAssemblyInGac ( Mono.Cecil.AssemblyNameReference reference ) : string
GetCorlib ( Mono.Cecil.AssemblyNameReference reference ) : string
GetCurrentGacPath ( ) : string

Method Details

AssemblyResolver() public method

public AssemblyResolver ( ApplicationBackend app ) : System
app ApplicationBackend
return System

CacheAssembly() public method

public CacheAssembly ( AssemblyDefinition assembly ) : void
assembly Mono.Cecil.AssemblyDefinition
return void

Resolve() public method

public Resolve ( Mono.Cecil.AssemblyNameReference name ) : AssemblyDefinition
name Mono.Cecil.AssemblyNameReference
return Mono.Cecil.AssemblyDefinition

Resolve() public method

public Resolve ( TypeReference type ) : Mono.Cecil.TypeDefinition
type Mono.Cecil.TypeReference
return Mono.Cecil.TypeDefinition

Resolve() public method

public Resolve ( Mono.Cecil.AssemblyNameReference name, StringCollection basePaths ) : string
name Mono.Cecil.AssemblyNameReference
basePaths System.Collections.Specialized.StringCollection
return string

Resolve() public method

public Resolve ( string assemblyName, string basePath ) : string
assemblyName string
basePath string
return string

Property Details

Directories public property

public StringCollection,System.Collections.Specialized Directories
return System.Collections.Specialized.StringCollection