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
contextHttpContextThe current HTTP request context.
commandsCommandCollectionThe dictionary containing the collection of URI derived processing commands.
parserCommandParserThe command parser for parsing URI derived processing commands.
cultureCultureInfoThe culture used to parse commands.
Properties
Commands
Gets the collection of URI derived processing commands.
public CommandCollection Commands { get; }
Property Value
Context
Gets the current HTTP request context.
public HttpContext Context { get; }
Property Value
Culture
Gets the culture used for parsing commands.
public CultureInfo Culture { get; }
Property Value
Parser
Gets the command parser for parsing URI derived processing commands.
public CommandParser Parser { get; }