Class PackageInstaller
Namespace: RealityCollective.ServiceFramework.Editor.Packages
Installs a service framework plugin package's IServices and IServiceModules to a ServiceProvidersProfile.
public static class PackageInstaller
Inheritance
object ← PackageInstaller
Properties
ProjectRootPath
public static string ProjectRootPath { get; }
Property Value
string
Methods
InstallPackage(PackageInstallerProfile)
Installs the IServices contained in the PackageInstallerProfile to the provided ServiceProvidersProfile.
public static void InstallPackage(PackageInstallerProfile packageInstallerProfile)
Parameters
packageInstallerProfile PackageInstallerProfile
The PackageInstallerProfile to install.
RegisterModulesInstaller(IPackageModulesInstaller)
Registers a IPackageModulesInstaller with the package installer. The IPackageModulesInstaller will be consulted by the packgae installer whenever a IServiceModule needs to be installed into its parent service profile.
public static void RegisterModulesInstaller(IPackageModulesInstaller modulesInstaller)
Parameters
modulesInstaller IPackageModulesInstaller