Catel.MVVM.Navigation.NavigationAdapter.Initialize C# (CSharp) 메소드

Initialize() 개인적인 메소드

private Initialize ( ) : void
리턴 void
        partial void Initialize()
        {
            var rootFrame = NavigationRoot as PhoneApplicationFrame;
            if (rootFrame == null)
            {
                return;
            }

            //this.SubscribeToWeakGenericEvent<CancelEventArgs>(rootFrame, "BackKeyPress", OnBackKeyPress);
            this.SubscribeToWeakGenericEvent<NavigatingCancelEventArgs>(rootFrame, "Navigating", OnNavigatingEvent);
            this.SubscribeToWeakGenericEvent<NavigationEventArgs>(rootFrame, "Navigated", OnNavigatedEvent);
        }