public VSTypeScriptContainedLanguageWrapper( IVsTextBufferCoordinator bufferCoordinator, IComponentModel componentModel, VSTypeScriptVisualStudioProjectWrapper project, IVsHierarchy hierarchy, uint itemid, Guid languageServiceGuid) : this(bufferCoordinator, componentModel, project, languageServiceGuid) { }
public VSTypeScriptContainedLanguageWrapper( IVsTextBufferCoordinator bufferCoordinator, IComponentModel componentModel, VSTypeScriptVisualStudioProjectWrapper project, Guid languageServiceGuid) { _underlyingObject = new ContainedLanguage( bufferCoordinator, componentModel, componentModel.GetService <VisualStudioWorkspace>(), project.Project.Id, project.Project, languageServiceGuid, vbHelperFormattingRule: null); }
public VSTypeScriptContainedLanguageWrapper( IVsTextBufferCoordinator bufferCoordinator, IComponentModel componentModel, VSTypeScriptVisualStudioProjectWrapper project, IVsHierarchy hierarchy, uint itemid, Guid languageServiceGuid) { var workspace = componentModel.GetService <VisualStudioWorkspace>(); var filePath = ContainedLanguage.GetFilePathFromHierarchyAndItemId(hierarchy, itemid); _underlyingObject = new ContainedLanguage( bufferCoordinator, componentModel, workspace, project.Project.Id, project.Project, filePath, languageServiceGuid, vbHelperFormattingRule: null); }