public static Type ModelListItemType(this IModelNode modelNode)
 {
     return(modelNode.ModelListType().GenericTypeArguments.First());
 }
 public static ModelNode AddNode(this IModelNode node, string id = null)
 {
     return(node.AddNode(node.ModelListType(), id));
 }
Example #3
0
 public static System.Type ModelListItemType(this IModelNode modelNode) => modelNode.ModelListType().GenericTypeArguments.First();