Merge pull request #5688 from Codinlab/issue/5475

Fixes #5475 : Add missing properties to HttpRequestPlaceholder
This commit is contained in:
Sipke Schoorstra 2015-08-24 10:42:51 +01:00
commit e0e600a6ce

View File

@ -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();