Class CommandCollectionExtensions
Extension methods for CommandCollectionExtensions.
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Commands
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public static class CommandCollectionExtensions
Methods
| Edit this page View SourceGetValueOrDefault(CommandCollection, string)
Gets the value associated with the specified key or the default value.
Declaration
public static string? GetValueOrDefault(this CommandCollection collection, string key)
Parameters
Type | Name | Description |
---|---|---|
CommandCollection | collection | The collection instance. |
string | key | The key of the value to get. |
Returns
Type | Description |
---|---|
string | The value associated with the specified key or the default value. |