4 instantiations of DelegatingEnumerable
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
DelegatingEnumerableTest.cs (4)
13
var delegatingEnumerable = new
DelegatingEnumerable
<int, int>(numbers, elementWrapperProvider: null);
24
var delegatingEnumerable = new
DelegatingEnumerable
<int, int>(numbers, elementWrapperProvider: null);
39
var delegatingEnumerable = new
DelegatingEnumerable
<SerializableErrorWrapper, SerializableError>(
61
var 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)
45
WrappingType = typeof(
DelegatingEnumerable
<,>).MakeGenericType(wrappedElementType, declaredElementType);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (20)
DelegatingEnumerableTest.cs (4)
13
var
delegatingEnumerable = new DelegatingEnumerable<int, int>(numbers, elementWrapperProvider: null);
24
var
delegatingEnumerable = new DelegatingEnumerable<int, int>(numbers, elementWrapperProvider: null);
39
var
delegatingEnumerable = new DelegatingEnumerable<SerializableErrorWrapper, SerializableError>(
61
var
delegatingEnumerable = new DelegatingEnumerable<SerializableErrorWrapper, SerializableError>(
EnumerableWrapperProviderFactoryTest.cs (8)
20
typeof(
DelegatingEnumerable
<string, string>)
25
typeof(
DelegatingEnumerable
<int, int>)
30
typeof(
DelegatingEnumerable
<Person, Person>)
35
typeof(
DelegatingEnumerable
<SerializableErrorWrapper, SerializableError>)
73
typeof(
DelegatingEnumerable
<string, string>)
78
typeof(
DelegatingEnumerable
<int, int>)
83
typeof(
DelegatingEnumerable
<Person, Person>)
88
typeof(
DelegatingEnumerable
<SerializableErrorWrapper, SerializableError>)
EnumerableWrapperProviderTest.cs (8)
12
typeof(
DelegatingEnumerable
<SerializableErrorWrapper, SerializableError>))]
14
typeof(
DelegatingEnumerable
<SerializableErrorWrapper, SerializableError>))]
16
typeof(
DelegatingEnumerable
<SerializableErrorWrapper, SerializableError>))]
18
typeof(
DelegatingEnumerable
<SerializableErrorWrapper, SerializableError>))]
47
Assert.Equal(typeof(
DelegatingEnumerable
<int, int>), wrapperProvider.WrappingType);
49
var
delegatingEnumerable = wrapped as
DelegatingEnumerable
<int, int>;
67
Assert.Equal(typeof(
DelegatingEnumerable
<int, int>), wrapperProvider.WrappingType);