11 references to ByteArraysToBeRevived
Microsoft.JSInterop (11)
Infrastructure\ByteArrayJsonConverter.cs (3)
31if (JSRuntime.ByteArraysToBeRevived.Count == 0) 68if (byteArrayRef >= JSRuntime.ByteArraysToBeRevived.Count || byteArrayRef < 0) 73var byteArray = JSRuntime.ByteArraysToBeRevived.Buffer[byteArrayRef];
Infrastructure\DotNetDispatcher.cs (1)
210jsRuntime.ByteArraysToBeRevived.Clear();
JSInProcessRuntime.cs (1)
33ByteArraysToBeRevived.Clear();
JSRuntime.cs (6)
200ByteArraysToBeRevived.Clear(); 203if (id != ByteArraysToBeRevived.Count) 205throw new ArgumentOutOfRangeException($"Element id '{id}' cannot be added to the byte arrays to be revived with length '{ByteArraysToBeRevived.Count}'.", innerException: null); 208ByteArraysToBeRevived.Append(data); 248ByteArraysToBeRevived.Clear(); 338public void Dispose() => ByteArraysToBeRevived.Dispose();