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)
4242 /// Gets the integer value associated with the specified key.
4343 /// </summary>
4444 /// <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>
4646 public int ? GetInt ( string key )
4747 {
4848 var hasValue = this . _metadata . TryGetValue ( key , out var value ) ;
@@ -58,7 +58,7 @@ public ImmutableMetadata(Dictionary<string, object> metadata)
5858 /// Gets the double value associated with the specified key.
5959 /// </summary>
6060 /// <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>
6262 public double ? GetDouble ( string key )
6363 {
6464 var hasValue = this . _metadata . TryGetValue ( key , out var value ) ;
You can’t perform that action at this time.
0 commit comments