src/vs/workbench/contrib/url/browser/externalUriResolver.ts/ExternalUriResolverContribution/constructor
class ExternalUriResolverContribution:	constructor(
		@IOpenerService _openerService: IOpenerService,
		@IWorkbenchEnvironmentService _workbenchEnvironmentService: IWorkbenchEnvironmentService,
	) {
		super();

		if (_workbenchEnvironmentService.options && _workbenchEnvironmentService.options.resolveExternalUri) {
			this._register(_openerService.registerExternalUriResolver({
				resolveExternalUri: async (resource) => {
					return {
						resolved: await _workbenchEnvironmentService.options!.resolveExternalUri!(resource),
						dispose: () => {
							// TODO
						}
					};
				}
			}));
		}
	}