Class NestedEntitiesHelper
Utility class with shared methods for dealing with entities that have nested/child entities.
Namespace: TehGM.Wolfringo.Messages.Serialization.Internal
Assembly: Wolfringo.Core.dll
Syntax
public static class NestedEntitiesHelper
Methods
| Improve this Doc View SourceFlattenAchievementsList(IEnumerable<WolfAchievement>)
Gets enumerable of achievements, with all child achievements surfaced to the top of the collection.
Declaration
public static IEnumerable<WolfAchievement> FlattenAchievementsList(IEnumerable<WolfAchievement> original)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<WolfAchievement> | original | The original enumerable of achievements with nested entities. |
Returns
Type | Description |
---|---|
IEnumerable<WolfAchievement> | Enumerable of achievements, with all child achievements surfaced to the top of the collection. |