Skip to content

Commit

Permalink
Update ParametersBase.cs
Browse files Browse the repository at this point in the history
Modified <param> tags on a few methods that check existence of keys/values or return values
  • Loading branch information
d3fkn1ght authored Apr 17, 2020
1 parent 0c9d30c commit b58f275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Prism.Core/Common/ParametersBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ public object this[string key]
/// <summary>
/// Adds the <paramref name="key" /> and <paramref name="value" /> to the KeyValuePair<string,object> collection
/// </summary>
/// <param name="key"></param>
/// <param name="value"></param>
/// <param name="key">The key to reference this value in the KeyValuePair<string, object></param>
/// <param name="value">The value of the parameter to store</param>
public void Add(string key, object value) =>
_entries.Add(new KeyValuePair<string, object>(key, value));

/// <summary>
/// Checks collection for presense of key
/// </summary>
/// <param name="key"></param>
/// <param name="key">The key to check in the collection</param>
/// <returns>True if key exists; else returns false.</returns>
public bool ContainsKey(string key) =>
_entries.ContainsKey(key);
Expand Down

0 comments on commit b58f275

Please sign in to comment.