Ejemplo n.º 1
0
 /// <summary>Insert <paramref name="children"/> of type class <typeparamref name="TChild"/> in the parent layout's children at the position where <see cref="Spread{TChild}(TChild[])"/> is called</summary>
 /// <typeparam name="TChild">Must be a class; for struct types, use <see cref="SpreadS{TChild}(TChild[])"/></typeparam>
 public static TChild Spread <TChild>(IEnumerable <TChild> children) where TChild : class => Spreader <TChild> .Spread(children.ToArray());
Ejemplo n.º 2
0
 /// <summary>Insert <paramref name="children"/> of type class <typeparamref name="TChild"/> in the parent layout's children at the position where <see cref="Spread{TChild}(TChild[])"/> is called</summary>
 /// <typeparam name="TChild">Must be a class; for struct types, use <see cref="SpreadS{TChild}(TChild[])"/></typeparam>
 public static TChild Spread <TChild>(TChild[] children) where TChild : class => Spreader <TChild> .Spread(children);