mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
namespace System.Web.Routing {
|
|
using System.Runtime.CompilerServices;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
[TypeForwardedFrom("System.Web.Routing, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
|
|
public class RequestContext {
|
|
public RequestContext() {
|
|
}
|
|
|
|
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors",
|
|
Justification = "The virtual property setters are only to support mocking frameworks, in which case this constructor shouldn't be called anyway.")]
|
|
public RequestContext(HttpContextBase httpContext, RouteData routeData) {
|
|
if (httpContext == null) {
|
|
throw new ArgumentNullException("httpContext");
|
|
}
|
|
if (routeData == null) {
|
|
throw new ArgumentNullException("routeData");
|
|
}
|
|
HttpContext = httpContext;
|
|
RouteData = routeData;
|
|
}
|
|
|
|
public virtual HttpContextBase HttpContext {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public virtual RouteData RouteData {
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|