private void InitialiseViewTypeResolver()
        {
            var viewTypeResolver = new MvxViewTypeResolver();

            _setupViewTypeResolver(viewTypeResolver);
            this.RegisterServiceInstance <IMvxViewTypeResolver>(viewTypeResolver);
        }
        protected virtual void InitialiseViewTypeResolver()
        {
            var viewTypeResolver = new MvxViewTypeResolver();

            Mvx.RegisterSingleton <IMvxViewTypeResolver>(viewTypeResolver);

            if (_setupViewTypeResolver != null)
            {
                _setupViewTypeResolver(viewTypeResolver);
            }
        }
Exemple #3
0
 protected virtual void SetupViewTypeResolver(MvxViewTypeResolver viewTypeResolver)
 {
     viewTypeResolver.ViewNamespaceAbbreviations = this.ViewNamespaceAbbreviations;
 }