Ejemplo n.º 1
0
        public InternalManager()
        {
            //CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
            //CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;

            Thread.CurrentThread.CurrentCulture   = CultureInfo.InvariantCulture;
            Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;

            InitializeAssemblyResolver();
            CitizenTaskScheduler.Create();

            SynchronizationContext.SetSynchronizationContext(new CitizenSynchronizationContext());
        }
Ejemplo n.º 2
0
        public InternalManager()
        {
            //CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
            //CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;

            GlobalManager = this;

            Thread.CurrentThread.CurrentCulture   = CultureInfo.InvariantCulture;
            Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;

            InitializeAssemblyResolver();

            CitizenTaskScheduler.Create();
        }
Ejemplo n.º 3
0
 public InternalManager()
 {
     InitializeAssemblyResolver();
     CitizenTaskScheduler.Create();
 }
Ejemplo n.º 4
0
        public static void Initialize()
        {
            Debug.WriteLine("Hello!");

            CitizenTaskScheduler.Create();
        }
Ejemplo n.º 5
0
 public static void Initialize()
 {
     CitizenTaskScheduler.Create();
 }