Get(String) Method

Definition

Assembly CliInvoke.Core.dll

Gets a value by key, cast to the specified type.

public T? Get<T>(string key)

Type parameters

T
The expected type of the value.

Parameters

key
String

The key to look up.

Returns

{T}
The value cast to T.