C# Class Stetic.Application

Inheritance: System.MarshalByRefObject, IDisposable
Show file Open project: mono/stetic Class Usage Examples

Private Properties

Property Type Description
CreateComponentType Stetic.ComponentType
DisposeComponent void
GetComponent Stetic.Component
GetComponentType Stetic.ComponentType
InternalIsWidgetLibrary bool
NotifyLibraryUnloaded void
ProjectDisposed void
RestartBackend void
SetActiveDesignSession void
UpdateWidgetLibraries void

Public Methods

Method Description
AddWidgetLibrary ( string assemblyPath ) : void
CreateProject ( ) : Project
Dispose ( ) : void
GenerateProjectCode ( GenerationOptions options ) : Stetic.CodeGenerationResult
GenerateProjectCode ( string file, string namespaceName, CodeDomProvider provider, GenerationOptions options ) : Stetic.CodeGenerationResult
GetComponentTypes ( string fileName ) : Stetic.ComponentType[]
GetWidgetLibraries ( ) : string[]
InitializeLifetimeService ( ) : object
IsWidgetLibrary ( string assemblyRef ) : bool
LoadProject ( string path ) : Project
RemoveWidgetLibrary ( string assemblyPath ) : void
UpdateWidgetLibraries ( bool forceUnload ) : void

Protected Methods

Method Description
ClearCollections ( ) : void

Private Methods

Method Description
CreateComponentType ( string typeName ) : Stetic.ComponentType
DisposeComponent ( Stetic.Component c ) : void
GetComponent ( object cbackend, string name, string type ) : Stetic.Component
GetComponentType ( string typeName ) : Stetic.ComponentType
InternalIsWidgetLibrary ( AssemblyResolver resolver, string assemblyRef ) : bool
NotifyLibraryUnloaded ( string name ) : void
ProjectDisposed ( object sender, EventArgs args ) : void
RestartBackend ( ) : void
SetActiveDesignSession ( Project p, WidgetEditSession session ) : void
UpdateWidgetLibraries ( bool allowBackendRestart, bool forceUnload ) : void

Method Details

AddWidgetLibrary() public method

public AddWidgetLibrary ( string assemblyPath ) : void
assemblyPath string
return void

ClearCollections() protected method

protected ClearCollections ( ) : void
return void

CreateProject() public method

public CreateProject ( ) : Project
return Project

Dispose() public method

public Dispose ( ) : void
return void

GenerateProjectCode() public method

public GenerateProjectCode ( GenerationOptions options ) : Stetic.CodeGenerationResult
options GenerationOptions
return Stetic.CodeGenerationResult

GenerateProjectCode() public method

public GenerateProjectCode ( string file, string namespaceName, CodeDomProvider provider, GenerationOptions options ) : Stetic.CodeGenerationResult
file string
namespaceName string
provider System.CodeDom.Compiler.CodeDomProvider
options GenerationOptions
return Stetic.CodeGenerationResult

GetComponentTypes() public method

public GetComponentTypes ( string fileName ) : Stetic.ComponentType[]
fileName string
return Stetic.ComponentType[]

GetWidgetLibraries() public method

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

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : object
return object

IsWidgetLibrary() public method

public IsWidgetLibrary ( string assemblyRef ) : bool
assemblyRef string
return bool

LoadProject() public method

public LoadProject ( string path ) : Project
path string
return Project

RemoveWidgetLibrary() public method

public RemoveWidgetLibrary ( string assemblyPath ) : void
assemblyPath string
return void

UpdateWidgetLibraries() public method

public UpdateWidgetLibraries ( bool forceUnload ) : void
forceUnload bool
return void