18 references to IDynamicFileInfoProvider
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorDynamicFileInfo.cs (1)
13
/// we acquire this from <see cref="
IDynamicFileInfoProvider
"/> exposed from external components such as razor for cshtml
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\Host\Mef\ExportDynamicFileInfoProviderAttribute.cs (3)
14
/// Use this attribute to declare a <see cref="
IDynamicFileInfoProvider
"/> implementation for MEF
21
/// file extensions this <see cref="
IDynamicFileInfoProvider
"/> can handle such as cshtml
28
: base(typeof(
IDynamicFileInfoProvider
))
Workspace\Host\SourceFiles\DynamicFileInfo.cs (1)
11
/// we acquire this from <see cref="
IDynamicFileInfoProvider
"/> exposed from external components such as razor for cshtml
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (6)
47
/// The map of <see cref="DocumentId"/> to <see cref="
IDynamicFileInfoProvider
"/> whose <see cref="DynamicFileInfo"/> got added into <see cref="Workspace"/>
49
private readonly Dictionary<DocumentId,
IDynamicFileInfoProvider
> _documentIdToDynamicFileInfoProvider = [];
193
public void AddDynamicFile_NoLock(
IDynamicFileInfoProvider
fileInfoProvider, DynamicFileInfo fileInfo, ImmutableArray<string> folders)
233
public
IDynamicFileInfoProvider
RemoveDynamicFile_NoLock(string fullPath)
243
!_documentIdToDynamicFileInfoProvider.TryGetValue(documentId, out
var
fileInfoProvider))
466
Contract.ThrowIfFalse(_documentIdToDynamicFileInfoProvider.TryGetValue(documentId, out
var
fileInfoProvider));
Workspace\ProjectSystem\ProjectSystemProject.cs (6)
126
/// track whether we have been subscribed to <see cref="
IDynamicFileInfoProvider
.Updated"/> event
128
private readonly HashSet<
IDynamicFileInfoProvider
> _eventSubscriptionTracker = [];
136
/// <see cref="
IDynamicFileInfoProvider
"/> provided a file for it, we will record the value as null so we still can track
899
IDynamicFileInfoProvider
? providerForFileInfo = null;
976
IDynamicFileInfoProvider
provider;
1358
foreach (
var
provider in _eventSubscriptionTracker)
Workspace\ProjectSystem\ProjectSystemProjectHostInfo.cs (1)
13
ImmutableArray<Lazy<
IDynamicFileInfoProvider
, FileExtensionsMetadata>> DynamicFileInfoProviders,