Class ILinksGroupListExtensions
Provides extension methods for collections of LinksGroup<TLinkAddress> instances.
Inherited Members
Namespace: Platform.Protocols.Lino
Assembly: Platform.Protocols.Lino.dll
Syntax
public static class ILinksGroupListExtensions
Methods
| Edit this page View SourceToLinksList<TLinkAddress>(IList<LinksGroup<TLinkAddress>>)
Converts a collection of links groups to a flat list of links by processing each group hierarchically.
Declaration
public static List<Link<TLinkAddress>> ToLinksList<TLinkAddress>(this IList<LinksGroup<TLinkAddress>> groups)
Parameters
Type | Name | Description |
---|---|---|
IList<LinksGroup<TLinkAddress>> | groups | The collection of links groups to convert. |
Returns
Type | Description |
---|---|
List<Link<TLinkAddress>> | A flat list of links representing all the links from the input groups. |
Type Parameters
Name | Description |
---|---|
TLinkAddress | The type used for link addresses/identifiers. This can be any type that uniquely identifies a link, such as string, int, or Guid. |