Esempio n. 1
0
 public static TModelNode AddResultScriptWebPart <TModelNode>(this TModelNode model, ResultScriptWebPartDefinition definition,
                                                              Action <ResultScriptWebPartModelNode> action)
     where TModelNode : ModelNode, IWebpartHostModelNode, new()
 {
     return(model.AddTypedDefinitionNode(definition, action));
 }
Esempio n. 2
0
 public static ModelNode AddResultScriptWebPart(this ModelNode model, ResultScriptWebPartDefinition definition, Action <ModelNode> action)
 {
     return(model.AddDefinitionNode(definition, action));
 }
Esempio n. 3
0
 public static TModelNode AddResultScriptWebPart <TModelNode>(this TModelNode model, ResultScriptWebPartDefinition definition)
     where TModelNode : ModelNode, IWebpartHostModelNode, new()
 {
     return(AddResultScriptWebPart(model, definition, null));
 }
Esempio n. 4
0
 public static ModelNode AddResultScriptWebPart(this ModelNode model, ResultScriptWebPartDefinition definition)
 {
     return(AddResultScriptWebPart(model, definition, null));
 }