1 instantiation of BrowserRefreshServer
Microsoft.DotNet.HotReload.Watch (1)
AppModels\WebApplicationAppModel.cs (1)
94return new BrowserRefreshServer(
216 references to BrowserRefreshServer
dotnet-watch (3)
Watch\DotNetWatcher.cs (1)
74var browserRefreshServer = projectRootNode != null && webAppModel != null
Watch\StaticFileHandler.cs (2)
17var refreshRequests = new Dictionary<BrowserRefreshServer, List<string>>(); 36if (browserConnector.TryGetRefreshServer(projectNode, out var refreshServer))
Microsoft.DotNet.HotReload.Watch (213)
AppModels\BlazorWebAssemblyAppModel.cs (1)
27protected override ImmutableArray<HotReloadClient> CreateManagedClients(ILogger clientLogger, ILogger agentLogger, BrowserRefreshServer? browserRefreshServer)
AppModels\BlazorWebAssemblyHostedAppModel.cs (1)
26protected override ImmutableArray<HotReloadClient> CreateManagedClients(ILogger clientLogger, ILogger agentLogger, BrowserRefreshServer? browserRefreshServer)
AppModels\WebApplicationAppModel.cs (4)
41protected abstract ImmutableArray<HotReloadClient> CreateManagedClients(ILogger clientLogger, ILogger agentLogger, BrowserRefreshServer? browserRefreshServer); 45var browserRefreshServer = await context.BrowserRefreshServerFactory.GetOrCreateBrowserRefreshServerAsync(LaunchingProject, this, cancellationToken); 54protected WebAssemblyHotReloadClient CreateWebAssemblyClient(ILogger clientLogger, ILogger agentLogger, BrowserRefreshServer browserRefreshServer, ProjectGraphNode clientProject) 76public BrowserRefreshServer? TryCreateRefreshServer()
AppModels\WebServerAppModel.cs (1)
19protected override ImmutableArray<HotReloadClient> CreateManagedClients(ILogger clientLogger, ILogger agentLogger, BrowserRefreshServer? browserRefreshServer)
Browser\BrowserLauncher.cs (2)
24BrowserRefreshServer? server, 61private void LaunchBrowser(string launchUrl, BrowserRefreshServer? server)
Browser\BrowserRefreshServerFactory.cs (6)
28private readonly Dictionary<ProjectInstanceId, BrowserRefreshServer?> _servers = []; 32BrowserRefreshServer?[] serversToDispose; 40foreach (var server in serversToDispose) 49public async ValueTask<BrowserRefreshServer?> GetOrCreateBrowserRefreshServerAsync(ProjectGraphNode projectNode, WebApplicationAppModel appModel, CancellationToken cancellationToken) 51BrowserRefreshServer? server; 84public bool TryGetRefreshServer(ProjectGraphNode projectNode, [NotNullWhen(true)] out BrowserRefreshServer? server)
Generated\361d1da7f942c932\BrowserRefreshJsonContext.GetJsonTypeInfo.g.cs (9)
32if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest)) 36if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse)) 40if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)) 44if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry)) 48if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest)) 52if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest)) 56if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest)) 60if (type == typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest)) 80if (type == typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>))
Generated\361d1da7f942c932\BrowserRefreshJsonContext.IEnumerableJsonLogEntry.g.cs (12)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>>? _IEnumerableJsonLogEntry; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>> IEnumerableJsonLogEntry 24get => _IEnumerableJsonLogEntry ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>> Create_IEnumerableJsonLogEntry(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>> 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>(options, info); 49private void IEnumerableJsonLogEntrySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>? value) 59foreach (global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry element in value)
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JasonUpdateStaticFileRequest.g.cs (22)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest>? _JasonUpdateStaticFileRequest; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest> JasonUpdateStaticFileRequest 24get => _JasonUpdateStaticFileRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest> Create_JasonUpdateStaticFileRequest(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest)obj).Type, 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest), 83Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest)obj).Path, 84Setter = static (obj, value) => __set_JasonUpdateStaticFileRequest_Path(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest>(obj), value!), 91AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest).GetProperty("Path", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 103private void JasonUpdateStaticFileRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest value) 107writer.WriteString(PropName_type, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest)value).Type); 108writer.WriteString(PropName_path, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest)value).Path); 114private static extern void __set_JasonUpdateStaticFileRequest_Path(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JasonUpdateStaticFileRequest obj, string value);
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JsonApplyDeltasResponse.g.cs (28)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse>? _JsonApplyDeltasResponse; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse> JsonApplyDeltasResponse 24get => _JsonApplyDeltasResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse> Create_JsonApplyDeltasResponse(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse)obj).Success, 63Setter = static (obj, value) => __set_JsonApplyDeltasResponse_Success(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse>(obj), value!), 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse).GetProperty("Success", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 75var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>> 80DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse), 82Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse)obj).Log, 83Setter = static (obj, value) => __set_JsonApplyDeltasResponse_Log(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse>(obj), value!), 90AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse).GetProperty("Log", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>), global::System.Array.Empty<global::System.Type>(), null), 93properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>>(options, info1); 102private void JsonApplyDeltasResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse value) 106writer.WriteBoolean(PropName_success, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse)value).Success); 108IEnumerableJsonLogEntrySerializeHandler(writer, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse)value).Log); 114private static extern void __set_JsonApplyDeltasResponse_Success(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse obj, bool value); 116private static extern void __set_JsonApplyDeltasResponse_Log(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonApplyDeltasResponse obj, global::System.Collections.Generic.IEnumerable<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry> value);
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JsonInitializeSessionRequest.g.cs (28)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest>? _JsonInitializeSessionRequest; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest> JsonInitializeSessionRequest 24get => _JsonInitializeSessionRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest> Create_JsonInitializeSessionRequest(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)obj).Type, 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest), 83Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)obj).SharedSecret, 84Setter = static (obj, value) => __set_JsonInitializeSessionRequest_SharedSecret(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest>(obj), value!), 91AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest).GetProperty("SharedSecret", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 101DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest), 103Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)obj).Updates, 104Setter = static (obj, value) => __set_JsonInitializeSessionRequest_Updates(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest>(obj), value!), 111AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest).GetProperty("Updates", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Immutable.ImmutableArray<global::Microsoft.DotNet.HotReload.BrowserToolsUpdateBatch>), global::System.Array.Empty<global::System.Type>(), null), 121private void JsonInitializeSessionRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest value) 125writer.WriteString(PropName_type, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)value).Type); 126writer.WriteString(PropName_sharedSecret, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)value).SharedSecret); 128ImmutableArrayBrowserToolsUpdateBatchSerializeHandler(writer, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest)value).Updates); 134private static extern void __set_JsonInitializeSessionRequest_SharedSecret(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest obj, string value); 136private static extern void __set_JsonInitializeSessionRequest_Updates(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonInitializeSessionRequest obj, global::System.Collections.Immutable.ImmutableArray<global::Microsoft.DotNet.HotReload.BrowserToolsUpdateBatch> value);
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JsonLogEntry.g.cs (24)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>? _JsonLogEntry; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry> JsonLogEntry 24get => _JsonLogEntry ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry> Create_JsonLogEntry(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry)obj).Message, 63Setter = static (obj, value) => __set_JsonLogEntry_Message(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>(obj), value!), 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry).GetProperty("Message", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 82DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry), 84Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry)obj).Severity, 85Setter = static (obj, value) => __set_JsonLogEntry_Severity(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry>(obj), value!), 92AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry).GetProperty("Severity", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 102private void JsonLogEntrySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry value) 106writer.WriteString(PropName_message, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry)value).Message); 107writer.WriteNumber(PropName_severity, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry)value).Severity); 113private static extern void __set_JsonLogEntry_Message(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry obj, string value); 115private static extern void __set_JsonLogEntry_Severity(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonLogEntry obj, int value);
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JsonRefreshBrowserRequest.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest>? _JsonRefreshBrowserRequest; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest> JsonRefreshBrowserRequest 24get => _JsonRefreshBrowserRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest> Create_JsonRefreshBrowserRequest(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest)obj).Type, 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81private void JsonRefreshBrowserRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest value) 85writer.WriteString(PropName_type, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonRefreshBrowserRequest)value).Type);
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JsonReloadRequest.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest>? _JsonReloadRequest; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest> JsonReloadRequest 24get => _JsonReloadRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest> Create_JsonReloadRequest(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest)obj).Type, 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81private void JsonReloadRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest value) 85writer.WriteString(PropName_type, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReloadRequest)value).Type);
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JsonReportDiagnosticsRequest.g.cs (22)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest>? _JsonReportDiagnosticsRequest; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest> JsonReportDiagnosticsRequest 24get => _JsonReportDiagnosticsRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest> Create_JsonReportDiagnosticsRequest(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest)obj).Type, 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest), 83Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest)obj).Diagnostics, 84Setter = static (obj, value) => __set_JsonReportDiagnosticsRequest_Diagnostics(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest>(obj), value!), 91AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest).GetProperty("Diagnostics", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<string>), global::System.Array.Empty<global::System.Type>(), null), 103private void JsonReportDiagnosticsRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest value) 107writer.WriteString(PropName_type, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest)value).Type); 109IEnumerableStringSerializeHandler(writer, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest)value).Diagnostics); 115private static extern void __set_JsonReportDiagnosticsRequest_Diagnostics(ref global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonReportDiagnosticsRequest obj, global::System.Collections.Generic.IEnumerable<string> value);
Generated\361d1da7f942c932\BrowserRefreshJsonContext.JsonWaitRequest.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest>? _JsonWaitRequest; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest> JsonWaitRequest 24get => _JsonWaitRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest> Create_JsonWaitRequest(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest> 33ObjectCreator = () => new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest), 62Getter = static obj => ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest)obj).Type, 70AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81private void JsonWaitRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest value) 85writer.WriteString(PropName_type, ((global::Microsoft.DotNet.HotReload.BrowserRefreshServer.JsonWaitRequest)value).Type);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BrowserRefreshJsonContext.g.cs (2)
28public static global::Microsoft.DotNet.HotReload.BrowserRefreshServer.BrowserRefreshJsonContext Default { get; } = new global::Microsoft.DotNet.HotReload.BrowserRefreshServer.BrowserRefreshJsonContext(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions));
src\sdk\src\Dotnet.Watch\HotReloadClient\HotReloadClients.cs (2)
34BrowserRefreshServer? browserRefreshServer, 58public BrowserRefreshServer? BrowserRefreshServer
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\WebAssemblyHotReloadClient.cs (1)
21BrowserRefreshServer browserRefreshServer,