2 instantiations of DeviceInfo
Microsoft.DotNet.HotReload.Watch (2)
HotReload\HotReloadDotNetWatcher.cs (2)
1103return await BuildAsync(BuildAction.BuildOnly, targetFramework, selectedDevice != null ? new DeviceInfo(selectedDevice, null, null, null, selectedDeviceRuntimeIdentifier) : null); 1207devices.Add(new DeviceInfo(
19 references to DeviceInfo
dotnet-watch (4)
UI\SpectreBuildParametersSelectionPrompt.cs (4)
36protected override Task<DeviceInfo> PromptForDeviceAsync(IReadOnlyList<DeviceInfo> devices, CancellationToken cancellationToken) 38var prompt = new SelectionPrompt<DeviceInfo>() 50internal static string FormatDevice(DeviceInfo device)
Microsoft.DotNet.HotReload.Watch (15)
HotReload\HotReloadDotNetWatcher.cs (9)
973Func<IReadOnlyList<DeviceInfo>, CancellationToken, ValueTask<DeviceInfo>>? deviceSelector, 1082var deviceInfo = await TrySelectDeviceAsync(projectGraph, rootProject, targetFramework, deviceSelector, cancellationToken); 1106async Task<bool> BuildAsync(BuildAction action, string? targetFramework, DeviceInfo? device = null) 1175private async Task<DeviceInfo?> TrySelectDeviceAsync( 1179Func<IReadOnlyList<DeviceInfo>, CancellationToken, ValueTask<DeviceInfo>> deviceSelector, 1204var devices = new List<DeviceInfo>(targetResult.Items.Length); 1230private async Task<bool> BuildFileOrProjectOrSolutionAsync(string path, string? targetFramework, DeviceInfo? device, BuildAction action, CancellationToken cancellationToken)
UI\BuildParametersSelectionPrompt.cs (6)
15public IReadOnlyList<DeviceInfo>? PreviousDevices { get; set; } 16public DeviceInfo? PreviousDeviceSelection { get; set; } 32public async ValueTask<DeviceInfo> SelectDeviceAsync(IReadOnlyList<DeviceInfo> devices, CancellationToken cancellationToken) 46protected abstract Task<DeviceInfo> PromptForDeviceAsync(IReadOnlyList<DeviceInfo> devices, CancellationToken cancellationToken);