Skip to content
Version 2.11.0
↓ Get the launcher

IConfigSection.Get<T> method

Returns the value stored at key, or defaultValue if the key is absent or the stored value can’t be coerced to T. Never throws.

public T? Get<T>(string key, T? defaultValue)