Skip to content

Commit

Permalink
Merge pull request PrismLibrary#1022 from mfe-/master
Browse files Browse the repository at this point in the history
Handle share activation and init boostraping
  • Loading branch information
bartlannoeye authored May 1, 2017
2 parents 62e5c31 + 849d26d commit e70c2d2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Source/Windows10/Prism.Windows/PrismApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,19 @@ protected virtual object Resolve(Type type)
return Activator.CreateInstance(type);
}

/// <summary> Invoked when the application is activated via ShareTarget.
/// OnShareTargetActivated is the entry point for an application when it is activated through sharing.
/// Call <see cref="OnActivated"/> to bootstrap the prism application.
/// </summary>
/// <param name="args">Event data for the event.</param>
protected override void OnShareTargetActivated(ShareTargetActivatedEventArgs args)
{
base.OnShareTargetActivated(args);
OnActivated(args);
}

/// <summary>
/// OnFileActivated is the entry point for an applicatoin when it is launched and the ActivationKind is File.
/// OnFileActivated is the entry point for an application when it is launched and the ActivationKind is File.
/// Call <see cref="OnActivated"/> to bootstrap the prism application.
/// </summary>
/// <param name="args">Event data for the event.</param>
Expand Down

0 comments on commit e70c2d2

Please sign in to comment.