C# Class ClassLibrary.Common.ContinuationManager

ContinuationManager is used to detect if the most recent activation was due to a continuation such as the FileOpenPicker or WebAuthenticationBroker
Show file Open project: justijndepover/Soundcloudplus

Public Methods

Method Description
Continue ( IContinuationActivatedEventArgs args ) : void

Sets the ContinuationArgs for this instance. Using default Frame of current Window Should be called by the main activation handling code in App.xaml.cs

GetContinuationArgs ( bool includeStaleArgs ) : IContinuationActivatedEventArgs

Retrieves the continuation args, optionally retrieving them even if they have already been retrieved

Private Methods

Method Description
Continue ( IContinuationActivatedEventArgs args, Frame rootFrame ) : void

Sets the ContinuationArgs for this instance. Should be called by the main activation handling code in App.xaml.cs

MarkAsStale ( ) : void

Marks the contination data as 'stale', meaning that it is probably no longer of any use. Called when the app is suspended (to ensure future activations don't appear to be for the same continuation) and whenever the continuation data is retrieved (so that it isn't retrieved on subsequent navigations)

Method Details

Continue() public method

Sets the ContinuationArgs for this instance. Using default Frame of current Window Should be called by the main activation handling code in App.xaml.cs
public Continue ( IContinuationActivatedEventArgs args ) : void
args IContinuationActivatedEventArgs The activation args
return void

GetContinuationArgs() public method

Retrieves the continuation args, optionally retrieving them even if they have already been retrieved
public GetContinuationArgs ( bool includeStaleArgs ) : IContinuationActivatedEventArgs
includeStaleArgs bool Set to true to return args even if they have previously been returned
return IContinuationActivatedEventArgs