28 references to IpcCommon
Microsoft.AspNetCore.Components.WebView (28)
IpcReceiver.cs (8)
35if (IpcCommon.TryDeserializeIncoming(message, out var messageType, out var args)) 37if (messageType == IpcCommon.IncomingMessageType.AttachPage) 51case IpcCommon.IncomingMessageType.BeginInvokeDotNet: 54case IpcCommon.IncomingMessageType.EndInvokeJS: 57case IpcCommon.IncomingMessageType.ReceiveByteArrayFromJS: 60case IpcCommon.IncomingMessageType.OnRenderCompleted: 63case IpcCommon.IncomingMessageType.OnLocationChanged: 66case IpcCommon.IncomingMessageType.OnLocationChanging:
IpcSender.cs (20)
32var message = IpcCommon.Serialize(IpcCommon.OutgoingMessageType.RenderBatch, batchId, Convert.ToBase64String(arrayBuilder.Buffer, 0, arrayBuilder.Count)); 39DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.Navigate, uri, options)); 44DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.Refresh, forceReload)); 49DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.AttachToDocument, componentId, selector)); 54DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.BeginInvokeJS, taskId, identifier, argsJson, resultType, targetInstanceId)); 59DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.EndInvokeDotNet, callId, success, invocationResultOrError)); 64DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.SendByteArrayToJS, id, data)); 69DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.SetHasLocationChangingListeners, hasListeners)); 74DispatchMessageWithErrorHandling(IpcCommon.Serialize(IpcCommon.OutgoingMessageType.EndLocationChanging, callId, shouldContinueNavigation)); 80var message = IpcCommon.Serialize(IpcCommon.OutgoingMessageType.NotifyUnhandledException, exception.Message, exception.StackTrace);