예제 #1
0
        protected override void OnActivated(IActivatedEventArgs args)
        {
            continuationManager = new ContinuationManager();

            // Activated again due to continuation?
            var contEventArgs = args as IContinuationActivatedEventArgs;

            if (contEventArgs != null)
            {
                continuationManager.Continue(contEventArgs);
            }

            base.OnActivated(args);
        }
예제 #2
0
        protected override void OnActivated(IActivatedEventArgs args)
        {
            continuationManager = new ContinuationManager();

            // Activated again due to continuation?
            var contEventArgs = args as IContinuationActivatedEventArgs;

            if (contEventArgs != null)
            {
                continuationManager.Continue(contEventArgs);
            }

            base.OnActivated(args);

        }