Click or drag to resize
HttpContextExtensionsGetProxy Method
Wraps the .NET Core HttpContextBase within a proxy class implementation of IHttpContext.

Namespace: CMS.AspNet.Platform.Internal
Assembly: CMS.AspNet.Platform (in CMS.AspNet.Platform.dll) Version: 13.0.131
Syntax
C#
public static IHttpContext GetProxy(
	this HttpContextBase httpContext
)

Parameters

httpContext
Type: System.WebHttpContextBase
The HttpContextBase to proxy.

Return Value

Type: IHttpContext

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpContextBase. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also