3 instantiations of ServiceDescriptors
Microsoft.CodeAnalysis.Remote.Workspaces (3)
ExternalAccess\Pythia\Api\PythiaServiceDescriptorsWrapper.cs (1)
25
=> UnderlyingObject = new
ServiceDescriptors
(componentName, featureDisplayNameProvider, new RemoteSerializationOptions(additionalFormatters, additionalResolvers), interfaces);
ExternalAccess\UnitTesting\Api\UnitTestingServiceDescriptorsWrapper.cs (1)
25
=> UnderlyingObject = new
ServiceDescriptors
(componentName, featureDisplayNameProvider, new RemoteSerializationOptions(additionalFormatters, additionalResolvers), interfaces);
ServiceDescriptors.cs (1)
56
public static readonly ServiceDescriptors Instance =
new
(ComponentName, GetFeatureDisplayName, RemoteSerializationOptions.Default, new (Type, Type?)[]
11 references to ServiceDescriptors
Microsoft.CodeAnalysis.Remote.Workspaces (11)
ExternalAccess\Pythia\Api\PythiaServiceDescriptorsWrapper.cs (1)
17
internal readonly
ServiceDescriptors
UnderlyingObject;
ExternalAccess\UnitTesting\Api\UnitTestingServiceDescriptorsWrapper.cs (1)
17
internal readonly
ServiceDescriptors
UnderlyingObject;
ProjectSystem\WorkspaceProjectFactoryServiceDescriptor.cs (2)
10
public static readonly ServiceDescriptor ServiceDescriptor = ServiceDescriptor.CreateInProcServiceDescriptor(
ServiceDescriptors
.ComponentName, ServiceName, suffix: "",
ServiceDescriptors
.GetFeatureDisplayName);
ServiceDescriptors.cs (3)
56
public static readonly
ServiceDescriptors
Instance = new(ComponentName, GetFeatureDisplayName, RemoteSerializationOptions.Default, new (Type, Type?)[]
164
private readonly
ServiceDescriptors
_serviceDescriptors;
166
internal TestAccessor(
ServiceDescriptors
serviceDescriptors)
ServiceHubRemoteHostClient.cs (2)
107
=> CreateConnection<T>(
ServiceDescriptors
.Instance, _callbackDispatcherProvider, callbackTarget);
112
internal RemoteServiceConnection<T> CreateConnection<T>(
ServiceDescriptors
descriptors, IRemoteServiceCallbackDispatcherProvider callbackDispatcherProvider, object? callbackTarget) where T : class
SolutionAssetProvider.cs (2)
22
internal static ServiceDescriptor ServiceDescriptor { get; } = ServiceDescriptor.CreateInProcServiceDescriptor(
ServiceDescriptors
.ComponentName, ServiceName, suffix: "",
ServiceDescriptors
.GetFeatureDisplayName);