11 references to ClosedGenericMatcher
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\ModelMetadata.cs (2)
780var collectionType = ClosedGenericMatcher.ExtractGenericInterface(ModelType, typeof(ICollection<>)); 786var enumerableType = ClosedGenericMatcher.ExtractGenericInterface(ModelType, typeof(IEnumerable<>));
Microsoft.AspNetCore.Mvc.Core (5)
Infrastructure\AsyncEnumerableReader.cs (1)
56var enumerableType = ClosedGenericMatcher.ExtractGenericInterface(type, typeof(IAsyncEnumerable<>));
ModelBinding\Binders\CollectionModelBinder.cs (1)
501var enumerableType = ClosedGenericMatcher.ExtractGenericInterface(bindingContext.ModelType, typeof(IEnumerable<>));
ModelBinding\Binders\CollectionModelBinderProvider.cs (2)
32var collectionType = ClosedGenericMatcher.ExtractGenericInterface(modelType, typeof(ICollection<>)); 41var enumerableType = ClosedGenericMatcher.ExtractGenericInterface(modelType, typeof(IEnumerable<>));
ModelBinding\Binders\DictionaryModelBinderProvider.cs (1)
24var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(modelType, typeof(IDictionary<,>));
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
EnumerableWrapperProvider.cs (1)
31var enumerableOfT = ClosedGenericMatcher.ExtractGenericInterface(
EnumerableWrapperProviderFactory.cs (1)
47var enumerableOfT = ClosedGenericMatcher.ExtractGenericInterface(
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\ExecutorFactory.cs (1)
42var taskType = ClosedGenericMatcher.ExtractGenericInterface(returnType, typeof(Task<>));
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TryGetValueProvider.cs (1)
48var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(targetType, typeof(IDictionary<,>));