Class CommandCollectionExtensions
- Namespace
- SixLabors.ImageSharp.Web.Commands
- Assembly
- SixLabors.ImageSharp.Web.dll
Extension methods for CommandCollectionExtensions.
public static class CommandCollectionExtensions
- Inheritance
-
CommandCollectionExtensions
- Inherited Members
Methods
GetValueOrDefault(CommandCollection, string)
Gets the value associated with the specified key or the default value.
public static string? GetValueOrDefault(this CommandCollection collection, string key)
Parameters
collectionCommandCollectionThe collection instance.
keystringThe key of the value to get.
Returns
- string
The value associated with the specified key or the default value.