ConvertingDictionary.

Get(string, Object) Method

Summary

Gets the value for the specified key. This method never throws an exception. It will return the specified default value or null if the key is not found.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Meta
Containing Type
ConvertingDictionary

Syntax

public Object Get(string key, Object defaultValue = null)

Parameters

Name Type Description
key string The key of the value to get.
defaultValue Object The default value to use if the key is not found.

Return Value

Type Description
Object The value for the specified key or the specified default value.
GitHub