forked from PrismLibrary/Prism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solved CS1591 in INavigationParamters[Internal].cs
- Loading branch information
1 parent
e0e865e
commit bb2efd3
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/Forms/Prism.Forms/Navigation/INavigationParametersInternal.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,30 @@ | ||
namespace Prism.Navigation | ||
{ | ||
/// <summary> | ||
/// Internal - Provides a way for the INavigationService to pass parameteres during navigation. | ||
/// </summary> | ||
public interface INavigationParametersInternal | ||
{ | ||
/// <summary> | ||
/// Adds the key and value to the KeyValuePair<string,object> collection | ||
/// </summary> | ||
/// <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> | ||
void Add(string key, object value); | ||
|
||
/// <summary> | ||
/// Checks collection for presense of key | ||
/// </summary> | ||
/// <param name="key">The key to check in the collection</param> | ||
/// <returns><c>true</c> if key exists; else returns <c>false</c>.</returns> | ||
bool ContainsKey(string key); | ||
|
||
/// <summary> | ||
/// Returns the value of the member referenced by key | ||
/// </summary> | ||
/// <typeparam name="T">The type of object to be returned</typeparam> | ||
/// <param name="key">The key for the value to be returned</param> | ||
/// <returns>Returns a matching parameter of <see cref="T" /> if one exists in the Collection</returns> | ||
T GetValue<T>(string key); | ||
} | ||
} |