C# 클래스 ClassLibrary.Common.ContinuationManager

ContinuationManager is used to detect if the most recent activation was due to a continuation such as the FileOpenPicker or WebAuthenticationBroker
파일 보기 프로젝트 열기: justijndepover/Soundcloudplus

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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)

메소드 상세

Continue() 공개 메소드

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
리턴 void

GetContinuationArgs() 공개 메소드

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
리턴 IContinuationActivatedEventArgs