Removes new namespaces: Umbraco.Core.Cookie, Umbraco.Core.Session, Umbraco.Core.Request, these are web things and should be part of one namespace

This commit is contained in:
Shannon
2020-04-08 15:56:19 +10:00
parent b23686e87e
commit f19e18e160
29 changed files with 10 additions and 48 deletions

View File

@@ -0,0 +1,11 @@
namespace Umbraco.Web
{
public interface ICookieManager
{
void ExpireCookie(string cookieName);
string GetCookieValue(string cookieName);
void SetCookieValue(string cookieName, string value);
bool HasCookie(string cookieName);
}
}

View File

@@ -0,0 +1,13 @@
using System;
using Umbraco.Web.Routing;
namespace Umbraco.Web
{
public interface IRequestAccessor
{
string GetRequestValue(string name);
string GetQueryStringValue(string culture);
event EventHandler<UmbracoRequestEventArgs> EndRequest;
event EventHandler<RoutableAttemptEventArgs> RouteAttempt;
}
}

View File

@@ -0,0 +1,8 @@
namespace Umbraco.Web
{
public interface ISessionManager
{
object GetSessionValue(string sessionName);
void SetSessionValue(string sessionName, object value);
}
}