public static void Shutdown()
 {
     if (!isShutdownDone)
     {
         isShutdownDone = true;
         AdConfigurer.Shutdown();
     }
 }
Ejemplo n.º 2
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            AdConfigurer.Startup(new PlatformImpl());
            PlatformVariableTest.Test1();

            /*AdListenerImplementation adListenerImplementation = new AdListenerImplementation();
             *          ImageTextureAd adClient = new ImageTextureAd (adListenerImplementation, "asdfadfd");
             *          adClient.LoadAds (2);
             * //AnalyticsWebManagerTest.Test1();*/
            PlatformObjectsFactoryHolder.SetFactory(new PlatformObjectsFactoryUnity());
            AdListenerImplementation adListener = new AdListenerImplementation();
            ImageTextureAdUnit       adUnit     = new ImageTextureAdUnit(adListener, "adsfd");

            adUnit.LoadAds(2);
            SystemInfoTest.TestHardwareInfo();
            //AnalyticsWebManagerTest.Test1();
            AdConfigurer.Shutdown();
            Console.ReadLine();
        }