Search Results for

    Show / Hide Table of Contents

    Class DistinctCultureCollectVisitorHelper

    extension method to provide

    Inheritance
    System.Object
    DistinctCultureCollectVisitorHelper
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: TimeCockpit.Data.Localization.Default
    Assembly: TimeCockpit.Data.dll
    Syntax
    public static class DistinctCultureCollectVisitorHelper

    Methods

    GetCultures(ModelElementLocalizer)

    Gets the unique cultures from a localizer.

    Declaration
    public static IEnumerable<string> GetCultures(this ModelElementLocalizer localizer)
    Parameters
    Type Name Description
    ModelElementLocalizer localizer

    the localizer to start searching from.

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

    returns an enumeration of the unique cultures.

    GetCultures<T>(LocalizerCollection<T>)

    Gets the unique cultures from a localizer.

    Declaration
    public static IEnumerable<string> GetCultures<T>(this LocalizerCollection<T> localizerCollection)
        where T : ModelElementLocalizer
    Parameters
    Type Name Description
    LocalizerCollection<T> localizerCollection

    the localizer collection to start from.

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

    returns an enumeration of the unique cultures in the collection.

    Type Parameters
    Name Description
    T

    the element type of the collection.

    In This Article
    Back to top Copyright © 2020 software architects gmbh