2 instantiations of Person
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
PersonWrapper.cs (1)
32
return new
Person
() { Id = this.Id, Name = this.Name };
SerializableErrorWrapperProviderTest.cs (1)
44
var person = new
Person
() { Id = 10, Name = "John" };
8 references to Person
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (8)
EnumerableWrapperProviderTest.cs (1)
74
[InlineData(typeof(List<
Person
>))]
Models\PersonList.cs (1)
6
public class PersonList : List<
Person
>
PersonWrapper.cs (1)
12
public PersonWrapper(
Person
person)
PersonWrapperProvider.cs (2)
10
var
person = obj as
Person
;
PersonWrapperProviderFactory.cs (1)
10
if (context.DeclaredType == typeof(
Person
))
SerializableErrorWrapperProviderTest.cs (1)
44
var
person = new Person() { Id = 10, Name = "John" };
SerializableWrapperProviderFactoryTest.cs (1)
33
new WrapperProviderContext(typeof(
Person
), isSerialization: true));