mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
docs: Clarifying method usages
This commit is contained in:
parent
8f107aa209
commit
fb41d76a9c
1 changed files with 3 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ namespace ICD.Common.Utils.Extensions
|
|||
/// <param name="extends"></param>
|
||||
/// <param name="key"></param>
|
||||
/// <returns></returns>
|
||||
[CanBeNull]
|
||||
[PublicAPI]
|
||||
public static TValue GetDefault<TKey, TValue>(this IDictionary<TKey, TValue> extends, TKey key)
|
||||
{
|
||||
|
|
@ -88,6 +89,7 @@ namespace ICD.Common.Utils.Extensions
|
|||
/// <param name="key"></param>
|
||||
/// <param name="defaultValue"></param>
|
||||
/// <returns></returns>
|
||||
[CanBeNull]
|
||||
[PublicAPI]
|
||||
public static TValue GetDefault<TKey, TValue>(this IDictionary<TKey, TValue> extends, TKey key, TValue defaultValue)
|
||||
{
|
||||
|
|
@ -111,6 +113,7 @@ namespace ICD.Common.Utils.Extensions
|
|||
/// <param name="key"></param>
|
||||
/// <param name="defaultValue"></param>
|
||||
/// <returns></returns>
|
||||
[CanBeNull]
|
||||
[PublicAPI]
|
||||
public static TValue GetOrAddDefault<TKey, TValue>(this IDictionary<TKey, TValue> extends, TKey key,
|
||||
TValue defaultValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue