mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixes #5475 : Add missing properties to HttpRequestPlaceholder
This commit is contained in:
@@ -188,6 +188,18 @@ namespace Orchard.Mvc {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string HttpMethod {
|
||||||
|
get {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override NameValueCollection Params {
|
||||||
|
get {
|
||||||
|
return new NameValueCollection();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override string AppRelativeCurrentExecutionFilePath {
|
public override string AppRelativeCurrentExecutionFilePath {
|
||||||
get {
|
get {
|
||||||
return "~/";
|
return "~/";
|
||||||
@@ -236,6 +248,12 @@ namespace Orchard.Mvc {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string[] UserLanguages {
|
||||||
|
get {
|
||||||
|
return new string[0];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override HttpBrowserCapabilitiesBase Browser {
|
public override HttpBrowserCapabilitiesBase Browser {
|
||||||
get {
|
get {
|
||||||
return new HttpBrowserCapabilitiesPlaceholder();
|
return new HttpBrowserCapabilitiesPlaceholder();
|
||||||
|
Reference in New Issue
Block a user