Esempio n. 1
0
 public static void StartService(AppType type)
 {
     if (type == AppType.ElmSharp)
     {
         ElmSharpAdapter.Initialize();
     }
     else
     {
         NUIAdapter.Initialize();
     }
 }
Esempio n. 2
0
        public static void StartService(AppType type)
        {
#if !__TIZEN4_0__
            if (type == AppType.ElmSharp)
            {
                ElmSharpAdapter.Initialize();
            }
            else
            {
                NUIAdapter.Initialize();
            }
#else
            throw new global::System.NotSupportedException("Use StartService(IAppAdapter adapter) instead on tizen40 TFM.");
#endif
        }