Fixes #5475 : Add missing properties to HttpRequestPlaceholder

This commit is contained in:
Thierry Fleury 2015-08-24 11:28:16 +02:00
parent 9e95f96195
commit 21875b98cc

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