Beispiel #1
0
 private void InitMappers()
 {
     UmbMapperRegistry.AddMapper(new PublishedItemMap());
     UmbMapperRegistry.AddMapper(new LazyPublishedItemMap());
     UmbMapperRegistry.AddMapperFor <AutoMappedItem>();
     UmbMapperRegistry.AddMapper(new BackedPublishedItemMap());
     UmbMapperRegistry.AddMapper(new InheritedPublishedItemMap());
 }
        public void Setup()
        {
            this.support = new UmbracoSupport();
            this.content = this.support.Content;

            this.umbracoMapper = new UmbracoMapper();
            UmbMapperRegistry.AddMapperFor <TestClass>();
            UmbMapperRegistry.AddMapperFor <LazyTestClass>();
        }