Ejemplo n.º 1
0
 /// <summary>
 ///		Limpia los esquemas
 /// </summary>
 public void Clear()
 {
     Tables.Clear();
     Triggers.Clear();
     Views.Clear();
     Routines.Clear();
 }
Ejemplo n.º 2
0
    public void NewGame()
    {
        Buffer.hasStopped = true;
        Time.timeScale    = 0;

        Routines.Clear();

        Events.Clear();
        Events.ResetFlagTranslation();

        Repository.Clear();

        Scene scene = SceneManager.GetActiveScene();

        SceneManager.LoadSceneAsync(scene.name);
    }
Ejemplo n.º 3
0
 public static void Deinitialize()
 {
     if (Routines != null)
     {
         foreach (IRoutine routine in Routines)
         {
             try
             {
                 routine.Deinitialize();
             }
             catch (Exception exception)
             {
                 ilog_0.ErrorFormat("[RoutineManager] An exception occured in {0}'s Deinitialize function. {1}", routine.Name, exception);
             }
         }
         Routines.Clear();
     }
 }
Ejemplo n.º 4
0
        async Task ExecuteLoadRoutinesCommand()
        {
            IsBusy = true;

            try
            {
                Routines.Clear();
                var items = await _routineService.GetItemsAsync(true);

                foreach (var item in items)
                {
                    Routines.Add(item);
                }
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }
            finally
            {
                IsBusy = false;
            }
        }
Ejemplo n.º 5
0
 private void CleanEnries()
 {
     Tables.Clear();
     Views.Clear();
     Routines.Clear();
 }