public void InjectModelsToDefinition(WebModelNode webDefinition)
 {
     webDefinition.AddFields(FieldDefnitions);
     webDefinition.AddContentType(ContentTypeDefinition, contentType =>
     {
         contentType
         .AddContentTypeFieldLinks(FieldDefnitions)
         .AddUniqueContentTypeFieldsOrder(new UniqueContentTypeFieldsOrderDefinition
         {
             Fields = FieldLinkValues()
         });
     });
     webDefinition.AddList(this.getListDefinition(), list =>
     {
         list
         .AddContentTypeLink(ContentTypeDefinition)
         .AddUniqueContentTypeOrder(new UniqueContentTypeOrderDefinition
         {
             ContentTypes = new List <ContentTypeLinkValue>
             {
                 new ContentTypeLinkValue {
                     ContentTypeName = ContentTypeDefinition.Name
                 },
             }
         })
         ;
     });
 }