public static ModelNode AddCalculatedField(this ModelNode model, CalculatedFieldDefinition definition, Action <ModelNode> action) { return(model.AddDefinitionNode(definition, action)); }
public static TModelNode AddCalculatedField <TModelNode>(this TModelNode model, CalculatedFieldDefinition definition, Action <CalculatedFieldModelNode> action) where TModelNode : ModelNode, IFieldHostModelNode, new() { return(model.AddTypedDefinitionNode(definition, action)); }
public static ModelNode AddCalculatedField(this ModelNode model, CalculatedFieldDefinition definition) { return(AddCalculatedField(model, definition, null)); }
public static TModelNode AddCalculatedField <TModelNode>(this TModelNode model, CalculatedFieldDefinition definition) where TModelNode : ModelNode, IFieldHostModelNode, new() { return(AddCalculatedField(model, definition, null)); }