public static TModelNode AddHostSecureStoreApplication <TModelNode>(this TModelNode model, SecureStoreApplicationDefinition definition,
                                                                     Action <SecureStoreApplicationModelNode> action)
     where TModelNode : ModelNode, ISecureStoreApplicationHostModelNode, new()
 {
     return(model.AddTypedDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
 public static TModelNode AddHostContentType <TModelNode>(this TModelNode model, ContentTypeDefinition definition,
                                                          Action <ContentTypeModelNode> action)
     where TModelNode : ModelNode, IContentTypeHostModelNode, new()
 {
     return(model.AddTypedDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
Esempio n. 3
0
 public static TModelNode AddHostListItem <TModelNode>(this TModelNode model, ListItemDefinition definition,
                                                       Action <ListItemModelNode> action)
     where TModelNode : ModelNode, IListItemHostModelNode, new()
 {
     return(model.AddTypedDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
Esempio n. 4
0
 public static ModelNode AddHostWeb(this ModelNode model, WebDefinition definition, Action <ModelNode> action)
 {
     return(model.AddDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
 public static TModelNode AddHostTaxonomyTermStore <TModelNode>(this TModelNode model, TaxonomyTermStoreDefinition definition,
                                                                Action <TaxonomyTermStoreModelNode> action)
     where TModelNode : ModelNode, ISiteModelNode, new()
 {
     return(model.AddTypedDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
Esempio n. 6
0
 public static ModelNode AddHostSecureStoreApplication(this ModelNode model, SecureStoreApplicationDefinition definition, Action <ModelNode> action)
 {
     return(model.AddDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
Esempio n. 7
0
 public static TModelNode AddHostWeb <TModelNode>(this TModelNode model, WebDefinition definition,
                                                  Action <WebModelNode> action)
     where TModelNode : ModelNode, IWebHostModelNode, new()
 {
     return(model.AddTypedDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
Esempio n. 8
0
 public static ModelNode AddHostTaxonomyTermStore(this ModelNode model, TaxonomyTermStoreDefinition definition, Action <ModelNode> action)
 {
     return(model.AddDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }
Esempio n. 9
0
 public static TModelNode AddHostFolder <TModelNode>(this TModelNode model, FolderDefinition definition,
                                                     Action <FolderModelNode> action)
     where TModelNode : ModelNode, IFolderHostModelNode, new()
 {
     return(model.AddTypedDefinitionNodeWithOptions(definition, action, ModelNodeOptions.New().NoSelfProcessing()));
 }