2020-03-03 07:29:51 +01:00
|
|
|
using System;
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core.Web
|
2020-02-28 11:15:25 +01:00
|
|
|
{
|
|
|
|
|
public interface IRequestAccessor
|
|
|
|
|
{
|
2021-02-02 18:42:39 +11:00
|
|
|
/// <summary>
|
|
|
|
|
/// Returns the request/form/querystring value for the given name
|
|
|
|
|
/// </summary>
|
2020-02-28 11:15:25 +01:00
|
|
|
string GetRequestValue(string name);
|
2021-02-02 18:42:39 +11:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns the query string value for the given name
|
|
|
|
|
/// </summary>
|
2020-04-20 12:20:47 +02:00
|
|
|
string GetQueryStringValue(string name);
|
2021-02-02 18:42:39 +11:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns the current request uri
|
|
|
|
|
/// </summary>
|
2020-04-22 13:08:43 +02:00
|
|
|
Uri GetRequestUrl();
|
2020-02-28 11:15:25 +01:00
|
|
|
}
|
|
|
|
|
}
|