Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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*
Comment thread
Christian-Oleson marked this conversation as resolved.
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);
}
}