I'm creating a nuget package which when installed creates some document types and content when installed. but im having some confusion on how to manipulate the models builder into implementing my interface.
My package has an IUserComponent which creates a Composition DocumentType
my package also includes a view which needs a model to pull content from the IPublishedContent
When my i assign a documentType to be composed of my newly created composition, ModelsBuilder makes the document type impliment the composition Interface. but because the interface is declared from the Website, not from my package.
How do i tell modelsuilder that by implimenting the composition created from this package should impliment my packages Interface not the one from umbraco
Composition Custom Interface implimentation
I'm creating a nuget package which when installed creates some document types and content when installed. but im having some confusion on how to manipulate the models builder into implementing my interface.
My package has an IUserComponent which creates a Composition DocumentType my package also includes a view which needs a model to pull content from the IPublishedContent
When my i assign a documentType to be composed of my newly created composition, ModelsBuilder makes the document type impliment the composition Interface. but because the interface is declared from the Website, not from my package.
How do i tell modelsuilder that by implimenting the composition created from this package should impliment my packages Interface not the one from umbraco
Hope im making sense Chris
is working on a reply...