当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript threadService.IThreadService类代码示例

本文整理汇总了TypeScript中vs/workbench/services/thread/common/threadService.IThreadService的典型用法代码示例。如果您正苦于以下问题:TypeScript IThreadService类的具体用法?TypeScript IThreadService怎么用?TypeScript IThreadService使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了IThreadService类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1: constructor

	constructor(threadService: IThreadService) {
		super();
		this._proxy = threadService.get(MainContext.MainThreadTask);
		this._handleCounter = 0;
		this._handlers = new Map<number, HandlerData>();
		this._idMaps = new Map<string, UUIDMap>();
	};
开发者ID:hungys,项目名称:vscode,代码行数:7,代码来源:extHostTask.ts

示例2: constructor

	constructor(
		threadService: IThreadService,
		private commands: ExtHostCommands
	) {
		super();

		this._proxy = threadService.get(MainContext.MainThreadExplorers);

		this._extNodeProviders = Object.create(null);
		this._extNodeMaps = Object.create(null);
	}
开发者ID:StateFarmIns,项目名称:vscode,代码行数:11,代码来源:extHostTreeExplorers.ts

示例3: constructor

	constructor(threadService: IThreadService) {
		this._proxy = threadService.get(MainContext.MainThreadMessageService);
	}
开发者ID:Chan-PH,项目名称:vscode,代码行数:3,代码来源:extHostMessageService.ts

示例4: constructor

	constructor(
		threadService: IThreadService
	) {
		this._proxy = threadService.get(MainContext.MainThreadLanguages);
	}
开发者ID:AjuanM,项目名称:vscode,代码行数:5,代码来源:extHostLanguages.ts

示例5: constructor

	constructor(threadService: IThreadService) {
		this._proxy = threadService.get(MainContext.MainThreadTerminalService);
	}
开发者ID:eklavyamirani,项目名称:vscode,代码行数:3,代码来源:extHostTerminalService.ts

示例6: constructor

	constructor(name: string, threadService: IThreadService) {
		this._name = name;
		this._proxy = threadService.get(MainContext.MainThreadTelemetry);
	}
开发者ID:Chan-PH,项目名称:vscode,代码行数:4,代码来源:extHostTelemetry.ts

示例7: constructor

	constructor(threadService: IThreadService) {
		super();
		this._proxy = threadService.get(MainContext.MainThreadCredentials);
	};
开发者ID:Chan-PH,项目名称:vscode,代码行数:4,代码来源:extHostCredentials.ts

示例8: constructor

	constructor(
		threadService: IThreadService
	) {
		this._proxy = threadService.get(SqlMainContext.MainThreadObjectExplorer);
	}
开发者ID:AlexxNica,项目名称:sqlopsstudio,代码行数:5,代码来源:extHostObjectExplorer.ts

示例9: constructor

	constructor(threadService: IThreadService) {
		super();
		this._proxy = threadService.get(MainContext.MainThreadQuickOpen);
	}
开发者ID:1Hgm,项目名称:vscode,代码行数:4,代码来源:extHostQuickOpen.ts

示例10: Error

		Object.keys(expected).forEach((key) => {
			let id = expected[key];
			let value = this._items[id.id];

			if (!value) {
				throw new Error(`Missing actor ${key} (isMain: ${id.isMain}, id:  ${id.id})`);
			}
			threadService.set<any>(id, value);
		});
开发者ID:BlackstarSoon,项目名称:vscode,代码行数:9,代码来源:extHost.protocol.ts


注:本文中的vs/workbench/services/thread/common/threadService.IThreadService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。