C# Class Mono.Addins.Database.AddinScanner

Inheritance: System.MarshalByRefObject
Mostrar archivo Open project: mono/mono-addins Class Usage Examples

Public Methods

Method Description
AddinScanner ( AddinDatabase database, Mono.Addins.Database.AddinScanResult scanResult, IProgressStatus monitor ) : System
ScanAddinsFile ( IProgressStatus monitor, string file, string domain, Mono.Addins.Database.AddinScanResult scanResult ) : void
ScanFile ( IProgressStatus monitor, string file, Mono.Addins.Database.AddinScanFolderInfo folderInfo, Mono.Addins.Database.AddinScanResult scanResult ) : void
ScanFolder ( IProgressStatus monitor, string path, string domain, Mono.Addins.Database.AddinScanResult scanResult ) : void
ScanFolderRec ( IProgressStatus monitor, string dir, string domain, Mono.Addins.Database.AddinScanResult scanResult ) : void
ScanSingleFile ( IProgressStatus monitor, string file, Mono.Addins.Database.AddinScanResult scanResult ) : AddinDescription
UpdateDeletedAddins ( IProgressStatus monitor, Mono.Addins.Database.AddinScanFolderInfo folderInfo, Mono.Addins.Database.AddinScanResult scanResult ) : void

Private Methods

Method Description
AddCustomAttributeExtension ( ModuleDescription module, CustomAttribute att, string nameName ) : Mono.Addins.Description.ExtensionNodeDescription
FindAddinType ( IAssemblyReflector reflector, string typeName, ArrayList assemblies ) : object
GetBaseTypeNameList ( IAssemblyReflector reflector, object type ) : string
GetDefaultTypeExtensionPath ( AddinDescription desc, string typeFullName ) : string
GetReflector ( IProgressStatus monitor, Mono.Addins.Database.AddinScanResult scanResult, string filePath ) : IAssemblyReflector
RegisterFileToScan ( IProgressStatus monitor, string file, Mono.Addins.Database.AddinScanResult scanResult, Mono.Addins.Database.AddinScanFolderInfo folderInfo ) : void
RegisterTypeNode ( AddinDescription config, System.ExtensionAttribute eatt, string path, string nodeName, string typeFullName ) : void
ReportReflectionException ( IProgressStatus monitor, Exception ex, AddinDescription config, Mono.Addins.Database.AddinScanResult scanResult ) : void
ScanAssembly ( IProgressStatus monitor, string filePath, Mono.Addins.Database.AddinScanResult scanResult, AddinDescription &config ) : bool
ScanAssemblyAddinHeaders ( IAssemblyReflector reflector, AddinDescription config, object asm, Mono.Addins.Database.AddinScanResult scanResult ) : void
ScanAssemblyContents ( IAssemblyReflector reflector, AddinDescription config, ModuleDescription module, object asm, Mono.Addins.Database.AddinScanResult scanResult ) : void
ScanAssemblyImports ( IAssemblyReflector reflector, ModuleDescription module, object asm ) : void
ScanConfigAssemblies ( IProgressStatus monitor, string filePath, Mono.Addins.Database.AddinScanResult scanResult, AddinDescription &config ) : bool
ScanDescription ( IProgressStatus monitor, IAssemblyReflector reflector, AddinDescription config, object rootAssembly, Mono.Addins.Database.AddinScanResult scanResult ) : bool
ScanEmbeddedDescription ( IProgressStatus monitor, string filePath, IAssemblyReflector reflector, object asm, AddinDescription &config ) : bool
ScanNodeSet ( IAssemblyReflector reflector, AddinDescription config, Mono.Addins.Description.ExtensionNodeSet nset, ArrayList assemblies, Hashtable internalNodeSets ) : void
ScanNodeType ( IAssemblyReflector reflector, AddinDescription config, Mono.Addins.Description.ExtensionNodeType nt, ArrayList assemblies, Hashtable internalNodeSets ) : void
ScanSubmodule ( IProgressStatus monitor, ModuleDescription mod, IAssemblyReflector reflector, AddinDescription config, Mono.Addins.Database.AddinScanResult scanResult, string assemblyName, object asm ) : bool

Method Details

AddinScanner() public method

public AddinScanner ( AddinDatabase database, Mono.Addins.Database.AddinScanResult scanResult, IProgressStatus monitor ) : System
database AddinDatabase
scanResult Mono.Addins.Database.AddinScanResult
monitor IProgressStatus
return System

ScanAddinsFile() public method

public ScanAddinsFile ( IProgressStatus monitor, string file, string domain, Mono.Addins.Database.AddinScanResult scanResult ) : void
monitor IProgressStatus
file string
domain string
scanResult Mono.Addins.Database.AddinScanResult
return void

ScanFile() public method

public ScanFile ( IProgressStatus monitor, string file, Mono.Addins.Database.AddinScanFolderInfo folderInfo, Mono.Addins.Database.AddinScanResult scanResult ) : void
monitor IProgressStatus
file string
folderInfo Mono.Addins.Database.AddinScanFolderInfo
scanResult Mono.Addins.Database.AddinScanResult
return void

ScanFolder() public method

public ScanFolder ( IProgressStatus monitor, string path, string domain, Mono.Addins.Database.AddinScanResult scanResult ) : void
monitor IProgressStatus
path string
domain string
scanResult Mono.Addins.Database.AddinScanResult
return void

ScanFolderRec() public method

public ScanFolderRec ( IProgressStatus monitor, string dir, string domain, Mono.Addins.Database.AddinScanResult scanResult ) : void
monitor IProgressStatus
dir string
domain string
scanResult Mono.Addins.Database.AddinScanResult
return void

ScanSingleFile() public method

public ScanSingleFile ( IProgressStatus monitor, string file, Mono.Addins.Database.AddinScanResult scanResult ) : AddinDescription
monitor IProgressStatus
file string
scanResult Mono.Addins.Database.AddinScanResult
return Mono.Addins.Description.AddinDescription

UpdateDeletedAddins() public method

public UpdateDeletedAddins ( IProgressStatus monitor, Mono.Addins.Database.AddinScanFolderInfo folderInfo, Mono.Addins.Database.AddinScanResult scanResult ) : void
monitor IProgressStatus
folderInfo Mono.Addins.Database.AddinScanFolderInfo
scanResult Mono.Addins.Database.AddinScanResult
return void