React to IRequestCookieFeature API change.

This commit is contained in:
Chris R 2015-05-20 12:51:38 -07:00
parent d298c9206e
commit 5694f79af4
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features.Internal;
using Microsoft.AspNet.Http.Internal;
@ -29,7 +30,7 @@ namespace MusicStore.Models
private class CookiesFeature : IRequestCookiesFeature
{
private readonly IReadableStringCollection _cookies;
private IReadableStringCollection _cookies;
public CookiesFeature(string key, string value)
{
@ -42,6 +43,7 @@ namespace MusicStore.Models
public IReadableStringCollection Cookies
{
get { return _cookies; }
set { _cookies = value; }
}
}
}