Manager classes are an abstraction on the data access layers
		public override async void WindowDidLoad ()
		{
			base.WindowDidLoad ();
			if (string.IsNullOrEmpty (Constants.ApplicationURL)) {
				// No, inform user
				ShowAlert ();
			} else {
				manager = new TodoItemManager ();
				await Reload ();
			}
		}
 public override async void WindowDidLoad()
 {
     base.WindowDidLoad();
     if (string.IsNullOrEmpty(Constants.ApplicationURL))
     {
         // No, inform user
         ShowAlert();
     }
     else
     {
         manager = new TodoItemManager();
         await Reload();
     }
 }
		public TodoList ()
		{
			InitializeComponent ();

			manager = new TodoItemManager ();
		}
        public TodoList()
        {
            InitializeComponent();

            manager = new TodoItemManager();
        }
Beispiel #5
0
 public override async void WindowDidLoad()
 {
     base.WindowDidLoad();
     manager = new TodoItemManager();
     Reload();
 }
		public override async void WindowDidLoad ()
		{
			base.WindowDidLoad ();
			manager = new TodoItemManager ();
			Reload ();
		}