namespace Umbraco.Core.Models.PublishedContent { /// /// Provides the model creation service. /// public interface IPublishedContentModelFactory { /// /// Creates a strongly-typed model representing a published content. /// /// The original published content. /// The strongly-typed model representing the published content, or the published content /// itself it the factory has no model for that content type. IPublishedContent CreateModel(IPublishedContent content); // temp - dont break MB //T CreateModel(IPublishedFragment content); // fixme // and we'd need a // PublishedContentModel = ContentModel : ContentWrapper // PublishedFragmentModel = FragmentModel : FragmentWrapper // // ModelFactory.Meta.Model("thing").ClrType (find the our post?) // // then // make a plan to get NestedContent in // and an equivalent of Vorto with different syntax // // then // VARIANTS ARCHITECTURE FFS! } }