public void Initializate() { if (!this._isIoCInit) { this.RegisterDependencies(FreshTinyIoCContainer.Current); IoCConfiguration.RegisterDependencies(FreshTinyIoCContainer.Current); this._isIoCInit = true; } if (!this._isPageModelMapperInit) { FreshPageModelResolver.PageModelMapper = new NavigationMapper(); this._isPageModelMapperInit = true; } if (!this._isMapperInit) { Mapper.Initialize(cfg => { MapperConfig.RegisterMappers(cfg); }); this._isMapperInit = true; } }