Пример #1
0
 private void OnDestroy()
 {
     _bootstrapper = null;
     if (_view != null)
     {
         _view.Context = null;
     }
 }
Пример #2
0
        private void Awake()
        {
            _bootstrapper = new LoginPageBootstrapper();
            if (_view == null)
            {
                return;
            }
            var viewModel = _bootstrapper.Bootstrap().Resolve <IPageViewModel>();

            _view.Context = viewModel;
        }