Skip to content

Commit

Permalink
Merge pull request #3226 from PrismLibrary/mergify/bp/release/stable/…
Browse files Browse the repository at this point in the history
…9.0/pr-3220

Add Missing XML Docs comments (backport #3220)
  • Loading branch information
dansiegel authored Aug 14, 2024
2 parents d1e16cd + a0d67bd commit a50910c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Maui/Prism.Maui/Navigation/IInitialize.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
namespace Prism.Navigation;

/// <summary>
/// Provides a way for ViewModels involved in navigation to initialize.
/// </summary>
public interface IInitialize
{
/// <summary>
/// Initializes this instance.
/// </summary>
/// <param name="parameters">The navigation parameters.</param>
void Initialize(INavigationParameters parameters);
}
7 changes: 7 additions & 0 deletions src/Maui/Prism.Maui/Navigation/IInitializeAsync.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
namespace Prism.Navigation;

/// <summary>
/// Provides a way for ViewModels involved in navigation to asynchronously initialize.
/// </summary>
public interface IInitializeAsync
{
/// <summary>
/// Initializes this instance.
/// </summary>
/// <param name="parameters">The navigation parameters.</param>
Task InitializeAsync(INavigationParameters parameters);
}

0 comments on commit a50910c

Please sign in to comment.