4 types derived from OrderableMetadata
Microsoft.CodeAnalysis.EditorFeatures (1)
Extensibility\Composition\OrderableContentTypeMetadata.cs (1)
12internal class OrderableContentTypeMetadata : OrderableMetadata, IContentTypeMetadata
Microsoft.CodeAnalysis.Features (1)
EmbeddedLanguages\EmbeddedLanguageMetadata.cs (1)
11internal class EmbeddedLanguageMetadata : OrderableMetadata, ILanguagesMetadata
Microsoft.CodeAnalysis.Workspaces (2)
CodeChangeProviderMetadata.cs (1)
12internal class CodeChangeProviderMetadata : OrderableMetadata, ILanguagesMetadata
OrderableLanguageMetadata.cs (1)
12internal class OrderableLanguageMetadata : OrderableMetadata, ILanguageMetadata
1 instantiation of OrderableMetadata
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
ExtensionOrdererTests.cs (1)
209=> new Lazy<Extension, OrderableMetadata>(new OrderableMetadata(name, before: before, after: after));
28 references to OrderableMetadata
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\DeclarationName\DeclarationNameCompletionProvider.cs (2)
31private ImmutableArray<Lazy<IDeclarationNameRecommender, OrderableMetadata>> Recommenders { get; } 35public DeclarationNameCompletionProvider([ImportMany] IEnumerable<Lazy<IDeclarationNameRecommender, OrderableMetadata>> recommenders)
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (3)
SignatureHelpControllerProvider.cs (1)
41[ImportMany] IEnumerable<Lazy<IIntelliSensePresenter<ISignatureHelpPresenterSession, ISignatureHelpSession>, OrderableMetadata>> signatureHelpPresenters,
SuggestedActionsSourceProvider.cs (2)
62public readonly ImmutableArray<Lazy<IImageIdService, OrderableMetadata>> ImageIdServices; 75[ImportMany] IEnumerable<Lazy<IImageIdService, OrderableMetadata>> imageIdServices)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Extensions\ExportProviderExtensions.cs (1)
19var lazyCommandHandlers = exportProvider.GetExports<ICommandHandler, OrderableMetadata>();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
SignatureHelp\SignatureHelpControllerProvider.cs (1)
41[ImportMany] IEnumerable<Lazy<IIntelliSensePresenter<ISignatureHelpPresenterSession, ISignatureHelpSession>, OrderableMetadata>> signatureHelpPresenters,
Suggestions\SuggestedActionsSourceProvider.cs (2)
62public readonly ImmutableArray<Lazy<IImageIdService, OrderableMetadata>> ImageIdServices; 75[ImportMany] IEnumerable<Lazy<IImageIdService, OrderableMetadata>> imageIdServices)
Microsoft.CodeAnalysis.Workspaces (4)
Shared\Utilities\ExtensionOrderer.cs (3)
15where TMetadata : OrderableMetadata 23where TMetadata : OrderableMetadata 67where TMetadata : OrderableMetadata
Shared\Utilities\ExtensionOrderer.Graph.cs (1)
15where TMetadata : OrderableMetadata
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
ExtensionOrdererTests.cs (15)
26var extensions = new List<Lazy<Extension, OrderableMetadata>>() { d, b, a, c, e }; 43var extensions = new List<Lazy<Extension, OrderableMetadata>>() { d, b, a, c, e }; 60var extensions = new List<Lazy<Extension, OrderableMetadata>>() { d, b, a, c, e }; 77var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e }; 94var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e }; 109var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c }; 124var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c }; 143var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f, g }; 162var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f, g }; 180var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f }; 198var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f }; 208private static Lazy<Extension, OrderableMetadata> CreateExtension(string? name = null, IEnumerable<string>? before = null, IEnumerable<string>? after = null) 209=> new Lazy<Extension, OrderableMetadata>(new OrderableMetadata(name, before: before, after: after)); 211private static IEnumerable<string?> GetNames(IEnumerable<Lazy<Extension, OrderableMetadata>> actual) 214private static void VerifyOrder(string expected, IEnumerable<Lazy<Extension, OrderableMetadata>> actual)