src/vs/workbench/contrib/terminal/electron-sandbox/terminalProfileResolverService.ts/ElectronTerminalProfileResolverService/constructor
class ElectronTerminalProfileResolverService:	constructor(
		@IConfigurationResolverService configurationResolverService: IConfigurationResolverService,
		@IConfigurationService configurationService: IConfigurationService,
		@IHistoryService historyService: IHistoryService,
		@ILogService logService: ILogService,
		@ITerminalService terminalService: ITerminalService,
		@ILocalTerminalService localTerminalService: ILocalTerminalService,
		@IRemoteTerminalService remoteTerminalService: IRemoteTerminalService,
		@IWorkspaceContextService workspaceContextService: IWorkspaceContextService,
		@IRemoteAgentService remoteAgentService: IRemoteAgentService
	) {
		super(
			{
				getDefaultSystemShell: async (remoteAuthority, platform) => {
					const service = remoteAuthority ? remoteTerminalService : localTerminalService;
					return service.getDefaultSystemShell(platform);
				},
				getEnvironment: (remoteAuthority) => {
					if (remoteAuthority) {
						return remoteTerminalService.getEnvironment();
					} else {
						return localTerminalService.getEnvironment();
					}
				}
			},
			configurationService,
			configurationResolverService,
			historyService,
			logService,
			terminalService,
			workspaceContextService,
			remoteAgentService
		);
	}