File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public ImmutableMetadata(Dictionary<string, object> metadata)
42
42
/// Gets the integer value associated with the specified key.
43
43
/// </summary>
44
44
/// <param name="key">The key of the value to retrieve.</param>
45
- /// <returns>The integer value associated with the key, or null if the key is not found .</returns>
45
+ /// <returns>The value associated with the key as an integer, if it is of type double or int; otherwise, null .</returns>
46
46
public int ? GetInt ( string key )
47
47
{
48
48
var hasValue = this . _metadata . TryGetValue ( key , out var value ) ;
@@ -58,7 +58,7 @@ public ImmutableMetadata(Dictionary<string, object> metadata)
58
58
/// Gets the double value associated with the specified key.
59
59
/// </summary>
60
60
/// <param name="key">The key of the value to retrieve.</param>
61
- /// <returns>The double value associated with the key, or null if the key is not found .</returns>
61
+ /// <returns>The value associated with the key as a double, if it is of type double or int; otherwise, null .</returns>
62
62
public double ? GetDouble ( string key )
63
63
{
64
64
var hasValue = this . _metadata . TryGetValue ( key , out var value ) ;
You can’t perform that action at this time.
0 commit comments