Table of Contents

Class ImageCommandContext

Namespace
SixLabors.ImageSharp.Web.Middleware
Assembly
SixLabors.ImageSharp.Web.dll

Contains information about the current image request and parsed commands.

public class ImageCommandContext
Inheritance
ImageCommandContext
Inherited Members

Constructors

ImageCommandContext(HttpContext, CommandCollection, CommandParser, CultureInfo)

Initializes a new instance of the ImageCommandContext class.

public ImageCommandContext(HttpContext context, CommandCollection commands, CommandParser parser, CultureInfo culture)

Parameters

context HttpContext

The current HTTP request context.

commands CommandCollection

The dictionary containing the collection of URI derived processing commands.

parser CommandParser

The command parser for parsing URI derived processing commands.

culture CultureInfo

The culture used to parse commands.

Properties

Commands

Gets the collection of URI derived processing commands.

public CommandCollection Commands { get; }

Property Value

CommandCollection

Context

Gets the current HTTP request context.

public HttpContext Context { get; }

Property Value

HttpContext

Culture

Gets the culture used for parsing commands.

public CultureInfo Culture { get; }

Property Value

CultureInfo

Parser

Gets the command parser for parsing URI derived processing commands.

public CommandParser Parser { get; }

Property Value

CommandParser