New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Namespace:Kendo.Mvc.Extensions

Assembly:Kendo.Mvc.dll

Syntax:

C#
public static class HttpContextBaseExtensions

Inheritance: objectHttpContextBaseExtensions

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Methods

Gets a value indicating whether we're running under Linux or a Unix variant.

C#
public static bool IsLinux(this HttpContextBase instance)
Parameters:instanceHttpContextBaseReturns:

bool

true if Linux/Unix; otherwise, false.

Gets a value indicating whether we're running under Mono.

C#
public static bool IsMono(this HttpContextBase instance)
Parameters:instanceHttpContextBaseReturns:

bool

true if Mono; otherwise, false.

Requests the context.

C#
public static RequestContext RequestContext(this HttpContextBase instance)
Parameters:instanceHttpContextBase

The instance.

Returns:

RequestContext