Ejemplo n.º 1
0
        public QCTest1Application(IQCTest1Navigator navigator, TaskScheduler uiTaskScheduler = null)
            : base(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
        }
Ejemplo n.º 2
0
        public QCTest1Application(IQCTest1Navigator navigator, TaskScheduler uiTaskScheduler = null)
            : base(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
        }
Ejemplo n.º 3
0
 public static QCTest1Application EnsureQCTest1Application(IQCTest1Navigator navigator)
 {
     return(QCTest1Application.Instance ?? new QCTest1Application(navigator));
 }
Ejemplo n.º 4
0
 public static QCTest1Application EnsureQCTest1Application(IQCTest1Navigator navigator)
 {
     return QCTest1Application.Instance ?? new QCTest1Application(navigator);
 }