Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class NestedEntitiesHelper

    Utility class with shared methods for dealing with entities that have nested/child entities.

    Inheritance
    System.Object
    NestedEntitiesHelper
    Namespace: TehGM.Wolfringo.Messages.Serialization.Internal
    Assembly: Wolfringo.Core.dll
    Syntax
    public static class NestedEntitiesHelper

    Methods

    | Improve this Doc View Source

    FlattenAchievementsList(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
    System.Collections.Generic.IEnumerable<WolfAchievement> original

    The original enumerable of achievements with nested entities.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<WolfAchievement>

    Enumerable of achievements, with all child achievements surfaced to the top of the collection.