Click or drag to resize

WorkspaceOnDocumentOpened Method



Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
protected void OnDocumentOpened(
	DocumentId documentId,
	SourceTextContainer textContainer,
	bool isCurrentContext = true
)

Parameters

documentId
Type: Microsoft.CodeAnalysisDocumentId
textContainer
Type: Microsoft.CodeAnalysis.TextSourceTextContainer
isCurrentContext (Optional)
Type: SystemBoolean
See Also