Expose IList instead of List
This commit is contained in:
parent
a5d9930802
commit
a426334018
|
|
@ -8,6 +8,6 @@ namespace Microsoft.AspNetCore.Http.Connections
|
|||
public class AvailableTransport
|
||||
{
|
||||
public string Transport { get; set; }
|
||||
public List<string> TransferFormats { get; set; }
|
||||
public IList<string> TransferFormats { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@ namespace Microsoft.AspNetCore.Http.Connections
|
|||
public class NegotiationResponse
|
||||
{
|
||||
public string ConnectionId { get; set; }
|
||||
public List<AvailableTransport> AvailableTransports { get; set; }
|
||||
public IList<AvailableTransport> AvailableTransports { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue