コード例 #1
0
        public void Initialize2()
        {
            StudyStoreTestServiceProvider.Reset();

            Platform.SetExtensionFactory(new NullExtensionFactory());
            //Force IsSupported to be re-evaluated.
            StudyStore.InitializeIsSupported();
        }
コード例 #2
0
        public void Initialize1()
        {
            StudyStoreTestServiceProvider.Reset();

            Platform.SetExtensionFactory(new UnitTestExtensionFactory
                                             {
                                                 { typeof(ServiceProviderExtensionPoint), typeof(StudyStoreTestServiceProvider) }
                                             });

            //Force IsSupported to be re-evaluated.
            StudyStore.InitializeIsSupported();
        }