Class CommandCollectionExtensions
Extension methods for CommandCollectionExtensions.
Namespace: SixLabors.ImageSharp.Web.Commands
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public static class CommandCollectionExtensions : object
Methods
| Improve this Doc 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 |
---|---|
Nullable<String> | The value associated with the specified key or the default value. |