2 instantiations of DeviceInfo
Microsoft.DotNet.HotReload.Watch (2)
HotReload\HotReloadDotNetWatcher.cs (2)
1125return await BuildAsync(BuildAction.BuildOnly, targetFramework, selectedDevice != null ? new DeviceInfo(selectedDevice, null, null, null, selectedDeviceRuntimeIdentifier) : null); 1229devices.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)
988Func<IReadOnlyList<DeviceInfo>, CancellationToken, ValueTask<DeviceInfo>>? deviceSelector, 1103var deviceInfo = await TrySelectDeviceAsync(projectGraph, rootProject, targetFramework, deviceSelector, cancellationToken); 1128async Task<bool> BuildAsync(BuildAction action, string? targetFramework, DeviceInfo? device = null) 1197private async Task<DeviceInfo?> TrySelectDeviceAsync( 1201Func<IReadOnlyList<DeviceInfo>, CancellationToken, ValueTask<DeviceInfo>> deviceSelector, 1226var devices = new List<DeviceInfo>(targetResult.Items.Length); 1252private 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);