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); } }
protected virtual void SetupViewTypeResolver(MvxViewTypeResolver viewTypeResolver) { viewTypeResolver.ViewNamespaceAbbreviations = this.ViewNamespaceAbbreviations; }