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