4 instantiations of DelegatingEnumerable
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
DelegatingEnumerableTest.cs (4)
13var delegatingEnumerable = new DelegatingEnumerable<int, int>(numbers, elementWrapperProvider: null); 24var delegatingEnumerable = new DelegatingEnumerable<int, int>(numbers, elementWrapperProvider: null); 39var delegatingEnumerable = new DelegatingEnumerable<SerializableErrorWrapper, SerializableError>( 61var delegatingEnumerable = new DelegatingEnumerable<SerializableErrorWrapper, SerializableError>(
24 references to DelegatingEnumerable
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
DelegatingEnumerable.cs (2)
22/// Initializes a <see cref="DelegatingEnumerable{TWrapped, TDeclared}"/>. 34/// Initializes a <see cref="DelegatingEnumerable{TWrapped, TDeclared}"/> with the original
DelegatingEnumerator.cs (1)
20/// Initializes a <see cref="DelegatingEnumerable{TWrapped, TDeclared}"/> which enumerates
EnumerableWrapperProvider.cs (1)
45WrappingType = typeof(DelegatingEnumerable<,>).MakeGenericType(wrappedElementType, declaredElementType);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (20)
DelegatingEnumerableTest.cs (4)
13var delegatingEnumerable = new DelegatingEnumerable<int, int>(numbers, elementWrapperProvider: null); 24var delegatingEnumerable = new DelegatingEnumerable<int, int>(numbers, elementWrapperProvider: null); 39var delegatingEnumerable = new DelegatingEnumerable<SerializableErrorWrapper, SerializableError>( 61var delegatingEnumerable = new DelegatingEnumerable<SerializableErrorWrapper, SerializableError>(
EnumerableWrapperProviderFactoryTest.cs (8)
20typeof(DelegatingEnumerable<string, string>) 25typeof(DelegatingEnumerable<int, int>) 30typeof(DelegatingEnumerable<Person, Person>) 35typeof(DelegatingEnumerable<SerializableErrorWrapper, SerializableError>) 73typeof(DelegatingEnumerable<string, string>) 78typeof(DelegatingEnumerable<int, int>) 83typeof(DelegatingEnumerable<Person, Person>) 88typeof(DelegatingEnumerable<SerializableErrorWrapper, SerializableError>)
EnumerableWrapperProviderTest.cs (8)
12typeof(DelegatingEnumerable<SerializableErrorWrapper, SerializableError>))] 14typeof(DelegatingEnumerable<SerializableErrorWrapper, SerializableError>))] 16typeof(DelegatingEnumerable<SerializableErrorWrapper, SerializableError>))] 18typeof(DelegatingEnumerable<SerializableErrorWrapper, SerializableError>))] 47Assert.Equal(typeof(DelegatingEnumerable<int, int>), wrapperProvider.WrappingType); 49var delegatingEnumerable = wrapped as DelegatingEnumerable<int, int>; 67Assert.Equal(typeof(DelegatingEnumerable<int, int>), wrapperProvider.WrappingType);