mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-01 20:18:37 +08:00
Merge pull request #5688 from Codinlab/issue/5475
Fixes #5475 : Add missing properties to HttpRequestPlaceholder
This commit is contained in:
commit
e0e600a6ce
@ -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 {
|
||||
get {
|
||||
return "~/";
|
||||
@ -236,6 +248,12 @@ namespace Orchard.Mvc {
|
||||
}
|
||||
}
|
||||
|
||||
public override string[] UserLanguages {
|
||||
get {
|
||||
return new string[0];
|
||||
}
|
||||
}
|
||||
|
||||
public override HttpBrowserCapabilitiesBase Browser {
|
||||
get {
|
||||
return new HttpBrowserCapabilitiesPlaceholder();
|
||||
|
Loading…
Reference in New Issue
Block a user