5 references to ReflectionHelper
Microsoft.AspNetCore.SignalR.Client.Core (5)
HubConnection.cs (3)
779if (arg is not null && ReflectionHelper.IsStreamingType(arg.GetType())) 843if (ReflectionHelper.GetIAsyncEnumerableInterface(reader.GetType()) is { } asyncEnumerableType) 855if (ReflectionHelper.TryGetStreamType(reader.GetType(), out var channelGenericType))
src\SignalR\common\Shared\AsyncEnumerableAdapters.cs (2)
158var constructedIAsyncEnumerableInterface = ReflectionHelper.GetIAsyncEnumerableInterface(asyncEnumerable.GetType())!; 187var type = ReflectionHelper.GetIAsyncEnumeratorInterface(enumerator.GetType());