Skip to content

Commit

Permalink
Merge pull request #2556 from Christian-Oleson/enhancement/#1978_Add_…
Browse files Browse the repository at this point in the history
…XML_Docs_And_Minor_Corrections

#1978 - Add a few XML docs and correct class names
  • Loading branch information
dansiegel authored Sep 10, 2021
2 parents 281535d + dd5c1a4 commit 883f964
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,6 @@ FakesAssemblies/

# MFractor
.mfractor/

# Jetbrains files
.idea*
5 changes: 4 additions & 1 deletion src/Forms/Prism.Forms/AppModel/IPageLifecycleAware.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
using System;
using System;
namespace Prism.AppModel
{
/// <summary>
/// An interface for using the page lifecycle events
/// </summary>
public interface IPageLifecycleAware
{
void OnAppearing();
Expand Down
3 changes: 3 additions & 0 deletions src/Forms/Prism.Forms/Ioc/IContainerRegistryExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

namespace Prism.Ioc
{
/// <summary>
/// Extension methods for registering views and dialogs for navigation.
/// </summary>
public static class IContainerRegistryExtensions
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Text;

Expand Down
8 changes: 8 additions & 0 deletions src/Forms/Prism.Forms/Navigation/IInitialize.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
namespace Prism.Navigation
{
/// <summary>
/// This class is used to initialize views and viewmodels during the navigation process.
/// </summary>
public interface IInitialize
{
/// <summary>
/// Invoked when the View or ViewModel is first created during the navigation process.
/// </summary>
/// <param name="parameters"></param>
/// <returns></returns>
void Initialize(INavigationParameters parameters);
}
}
8 changes: 8 additions & 0 deletions src/Forms/Prism.Forms/Navigation/IInitializeAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

namespace Prism.Navigation
{
/// <summary>
/// This class is used to initialize views and viewmodels during the navigation process.
/// </summary>
public interface IInitializeAsync
{
/// <summary>
/// Invoked when the View or ViewModel is first created during the navigation process.
/// </summary>
/// <param name="parameters"></param>
/// <returns></returns>
Task InitializeAsync(INavigationParameters parameters);
}
}

0 comments on commit 883f964

Please sign in to comment.