Class DistinctCultureCollectVisitorHelper
- Assembly
- TimeCockpit.Data.dll
extension method to provide
public static class DistinctCultureCollectVisitorHelper
- Inheritance
-
ObjectDistinctCultureCollectVisitorHelper
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Methods
GetCultures(ModelElementLocalizer)
Gets the unique cultures from a localizer.
public static IEnumerable<string> GetCultures(this ModelElementLocalizer localizer)
Parameters
localizerModelElementLocalizerthe localizer to start searching from.
Returns
- IEnumerable<String>
returns an enumeration of the unique cultures.
GetCultures<T>(LocalizerCollection<T>)
Gets the unique cultures from a localizer.
public static IEnumerable<string> GetCultures<T>(this LocalizerCollection<T> localizerCollection)
where T : ModelElementLocalizer
Parameters
localizerCollectionLocalizerCollection<T>the localizer collection to start from.
Returns
- IEnumerable<String>
returns an enumeration of the unique cultures in the collection.
Type Parameters
Tthe element type of the collection.