public static void InitializeDefault( InteractiveInstallationPaths installationPaths = null) { if (Default != null) { throw new InvalidOperationException("InitializeDefault has already been called"); } Default = new InteractiveInstallation(installationPaths); }
InteractiveInstallation( InteractiveInstallationPaths installationPaths) { // May come in null if initialized by an installed app BuildPath = DevEnvironment.RepositoryRootDirectory ?? string.Empty; workbooksClientInstallPath = installationPaths?.WorkbooksClientInstallPath; inspectorClientInstallPath = installationPaths?.InspectorClientInstallPath; agentsInstallPath = installationPaths?.AgentsInstallPath; toolsInstallPath = installationPaths?.ToolsInstallPath; }
public static void InitializeDefault( bool isMac, string buildPath, InteractiveInstallationPaths installationPaths = null) { if (Default != null) { throw new InvalidOperationException("InitializeDefault has already been called"); } Default = new InteractiveInstallation(isMac, buildPath, installationPaths); }
InteractiveInstallation( bool isMac, string buildPath, InteractiveInstallationPaths installationPaths) { IsMac = isMac; // May come in null if initialized by an installed app BuildPath = buildPath ?? String.Empty; workbooksClientInstallPath = installationPaths?.WorkbooksClientInstallPath; inspectorClientInstallPath = installationPaths?.InspectorClientInstallPath; agentsInstallPath = installationPaths?.AgentsInstallPath; toolsInstallPath = installationPaths?.ToolsInstallPath; }