C# Class Stetic.CecilWidgetLibrary

Inheritance: WidgetLibrary
Mostrar archivo Open project: mono/stetic Class Usage Examples

Public Methods

Method Description
CecilWidgetLibrary ( AssemblyResolver resolver, string path ) : System
GetComponentTypes ( Application app, string filename ) : List
GetEmbeddedIcon ( string iconname ) : Gdk.Pixbuf
GetInstanceType ( Mono.Cecil.TypeDefinition td, TypeReference sourceType, TypeReference tref ) : string
GetLibraryDependencies ( ) : string[]
IsWidgetLibrary ( string path ) : bool
Load ( ) : void

Protected Methods

Method Description
LoadClassDescriptor ( XmlElement element ) : ClassDescriptor

Private Methods

Method Description
FindType ( AssemblyDefinition asm, Mono.Cecil.TypeDefinition cls ) : Stetic.ClassDescriptor
FindTypeDefinition ( Hashtable visited, AssemblyDefinition asm, string fullName ) : Mono.Cecil.TypeDefinition
FindTypeDefinition ( string fullName ) : Mono.Cecil.TypeDefinition
GetEmbeddedIcon ( AssemblyDefinition asm, string iconname ) : Gdk.Pixbuf
GetResource ( AssemblyDefinition asm, string name ) : EmbeddedResource
LoadDependencies ( ) : void
ResolveAssembly ( Mono.Cecil.AssemblyNameReference aref ) : AssemblyDefinition

Method Details

CecilWidgetLibrary() public method

public CecilWidgetLibrary ( AssemblyResolver resolver, string path ) : System
resolver AssemblyResolver
path string
return System

GetComponentTypes() public static method

public static GetComponentTypes ( Application app, string filename ) : List
app Application
filename string
return List

GetEmbeddedIcon() public method

public GetEmbeddedIcon ( string iconname ) : Gdk.Pixbuf
iconname string
return Gdk.Pixbuf

GetInstanceType() public static method

public static GetInstanceType ( Mono.Cecil.TypeDefinition td, TypeReference sourceType, TypeReference tref ) : string
td Mono.Cecil.TypeDefinition
sourceType Mono.Cecil.TypeReference
tref Mono.Cecil.TypeReference
return string

GetLibraryDependencies() public method

public GetLibraryDependencies ( ) : string[]
return string[]

IsWidgetLibrary() public static method

public static IsWidgetLibrary ( string path ) : bool
path string
return bool

Load() public method

public Load ( ) : void
return void

LoadClassDescriptor() protected method

protected LoadClassDescriptor ( XmlElement element ) : ClassDescriptor
element System.Xml.XmlElement
return ClassDescriptor