Exemplo n.º 1
0
        internal static void SetScheduler(Scheduler scheduler)
        {
            if (SchedulerSingleton != null)
                return;

            SchedulerSingleton = scheduler;
        }
Exemplo n.º 2
0
        public static Scheduler GetScheduler()
        {
            if (SchedulerSingleton == null)
                SchedulerSingleton = new Scheduler();

            return SchedulerSingleton;
        }