C# Class PluginFramework.AddIn.Core.Framework

Main class of the Innosys framework. This class is internal, not accessible from outside the Innosys assembly.
Inheritance: IFramework
显示文件 Open project: tianjing/PluginFramework Class Usage Examples

Private Properties

Property Type Description
CheckInstallBundle void
InitializeFramework void
InstallBundleInternal IBundle
SetupConfiguration void
ValidExtention Boolean

Public Methods

Method Description
Close ( ) : void
CreateDomain ( IBundleContext context ) : AppDomain
Framework ( ) : System
GetNextServiceId ( ) : int
GetServiceReferences ( string clazz, string filterString, IBundleContext context, bool allservices ) : IServiceReference[]
InstallBundle ( String location ) : IBundle
InstallBundle ( string location, BundleData bd ) : IBundle
Launch ( ) : void
Shutdown ( ) : void
StartBundle ( int id ) : IBundle
StartBundle ( IBundle bundle ) : void
StopBundle ( int id ) : void
UninstallBundle ( int id ) : void
UnloadDomain ( AppDomain domain ) : void

Private Methods

Method Description
CheckInstallBundle ( Bundle bundle ) : void
InitializeFramework ( ) : void
InstallBundleInternal ( Bundle bundle ) : IBundle
SetupConfiguration ( string fileName ) : void
ValidExtention ( String location ) : Boolean

ValidExtention

Method Details

Close() public method

public Close ( ) : void
return void

CreateDomain() public method

public CreateDomain ( IBundleContext context ) : AppDomain
context IBundleContext
return System.AppDomain

Framework() public method

public Framework ( ) : System
return System

GetNextServiceId() public method

public GetNextServiceId ( ) : int
return int

GetServiceReferences() public method

public GetServiceReferences ( string clazz, string filterString, IBundleContext context, bool allservices ) : IServiceReference[]
clazz string
filterString string
context IBundleContext
allservices bool
return IServiceReference[]

InstallBundle() public method

public InstallBundle ( String location ) : IBundle
location String
return IBundle

InstallBundle() public method

public InstallBundle ( string location, BundleData bd ) : IBundle
location string
bd BundleData
return IBundle

Launch() public method

public Launch ( ) : void
return void

Shutdown() public method

public Shutdown ( ) : void
return void

StartBundle() public method

public StartBundle ( int id ) : IBundle
id int
return IBundle

StartBundle() public method

public StartBundle ( IBundle bundle ) : void
bundle IBundle
return void

StopBundle() public method

public StopBundle ( int id ) : void
id int
return void

UninstallBundle() public method

public UninstallBundle ( int id ) : void
id int
return void

UnloadDomain() public method

public UnloadDomain ( AppDomain domain ) : void
domain AppDomain
return void