コード例 #1
0
        public _APPNAME_Application(I_APPNAME_Navigator navigator, object currentNavigationContext = null, TaskScheduler uiTaskScheduler = null)
            : base(currentNavigationContext, uiTaskScheduler)
        {
            // Services that have a platform-specific implementation, such as the navigator,
            // are instantiated in a platform-specific project and passed to this application
            // as a cross-platform interface.
            _navigator = navigator;

            // TODO: Create instances for all services that have a cross-platform implementation
        }
コード例 #2
0
        public _APPNAME_Application(I_APPNAME_Navigator navigator, object currentNavigationContext = null, TaskScheduler uiTaskScheduler = null)
            : base(currentNavigationContext, uiTaskScheduler)
        {
            // Services that have a platform-specific implementation, such as the navigator,
            // are instantiated in a platform-specific project and passed to this application 
            // as a cross-platform interface.
            _navigator = navigator;

            // TODO: Create instances for all services that have a cross-platform implementation
        }
コード例 #3
0
ファイル: AppDelegate.cs プロジェクト: rvdplas/QuickCross
 public static _APPNAME_Application Ensure_APPNAME_Application(I_APPNAME_Navigator navigator)
 {
     return _APPNAME_Application.Instance ?? new _APPNAME_Application(navigator);
 }
コード例 #4
0
 public static _APPNAME_Application Ensure_APPNAME_Application(I_APPNAME_Navigator navigator)
 {
     return(_APPNAME_Application.Instance ?? new _APPNAME_Application(navigator));
 }