Expose IList instead of List

This commit is contained in:
David Fowler 2018-04-16 10:44:22 -07:00
parent a5d9930802
commit a426334018
2 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@ namespace Microsoft.AspNetCore.Http.Connections
public class AvailableTransport public class AvailableTransport
{ {
public string Transport { get; set; } public string Transport { get; set; }
public List<string> TransferFormats { get; set; } public IList<string> TransferFormats { get; set; }
} }
} }

View File

@ -8,6 +8,6 @@ namespace Microsoft.AspNetCore.Http.Connections
public class NegotiationResponse public class NegotiationResponse
{ {
public string ConnectionId { get; set; } public string ConnectionId { get; set; }
public List<AvailableTransport> AvailableTransports { get; set; } public IList<AvailableTransport> AvailableTransports { get; set; }
} }
} }