[This is preliminary documentation and is subject to change.]

Provides methods JoinToString/JoinToClassyString methods for merging lists and enumerations into strings.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
public static class EnumerableUtil

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
JoinToClassyString(IEnumerable<(Of <<'(IClassy>)>>))
Joins formatted names of all IClassy objects in a collection into one comma-separated string.
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Joins all items in a collection into one comma-separated string. If the items are not strings, .ToString() is called on them.
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), Func<(Of <<'(T, String>)>>))
Joins all items in a collection into one string separated with the given separator. A specified string conversion function is called on each item before contactenation.
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), String)
Joins all items in a collection into one string separated with the given separator. If the items are not strings, .ToString() is called on them.
JoinToString<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), String, Func<(Of <<'(T, String>)>>))
Joins all items in a collection into one string separated with the given separator. A specified string conversion function is called on each item before contactenation.

Inheritance Hierarchy

System..::..Object
  fCraft..::..EnumerableUtil

See Also