Click or drag to resize

CoreStartup Class

Class that helps starting up.
Inheritance Hierarchy
SystemObject
  Altaxo.AddInItemsCoreStartup

Namespace: Altaxo.AddInItems
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public sealed class CoreStartup

The CoreStartup type exposes the following members.

Constructors
 NameDescription
Public methodCoreStartup Creates a new CoreStartup instance.
Top
Methods
 NameDescription
Public methodAddAddInFile Add the specified .addin file to the list of AddIn files to load.
Public methodAddAddInsFromDirectory Find AddIns by searching all .addin files recursively in addInDir. The AddIns that were found are added to the list of AddIn files to load.
Public methodConfigureExternalAddIns Use the specified configuration file to store information about disabled AddIns and external AddIns. You have to call this method to support the AddInManager.
Public methodConfigureUserAddIns Configures user AddIn support.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRunInitialization Initializes the AddIn system. This loads the AddIns that were added to the list, then it executes the commands in /Application/Autostart.
Public methodStartCoreServices Starts the core services. This initializes the PropertyService and ResourceService.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Initializing requires initializing several static classes and the AddInTree. CoreStartup does this work for you, provided you use it like this: 1. Create a new CoreStartup instance 2. (Optional) Set the values of the properties. 3. Call StartCoreServices(IPropertyService, StartupSettings). 4. Add "preinstalled" AddIns using AddAddInsFromDirectory(String) and AddAddInFile(String). 5. (Optional) Call ConfigureExternalAddIns(String) to support disabling AddIns and installing external AddIns 6. (Optional) Call ConfigureUserAddIns(String, String) to support installing user AddIns. 7. Call RunInitialization.
See Also