Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class CountryList

    Inheritance
    System.Object
    System.Collections.Generic.List<CountryInfo>
    CountryList
    Implements
    System.Collections.Generic.IList<CountryInfo>
    System.Collections.Generic.ICollection<CountryInfo>
    System.Collections.Generic.IReadOnlyList<CountryInfo>
    System.Collections.Generic.IReadOnlyCollection<CountryInfo>
    System.Collections.Generic.IEnumerable<CountryInfo>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Add(MediaBrowser.Model.Globalization.CountryInfo)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.AddRange(System.Collections.Generic.IEnumerable<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.AsReadOnly()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.BinarySearch(MediaBrowser.Model.Globalization.CountryInfo)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.BinarySearch(MediaBrowser.Model.Globalization.CountryInfo, System.Collections.Generic.IComparer<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.BinarySearch(System.Int32, System.Int32, MediaBrowser.Model.Globalization.CountryInfo, System.Collections.Generic.IComparer<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Clear()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Contains(MediaBrowser.Model.Globalization.CountryInfo)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.ConvertAll<TOutput>(System.Converter<MediaBrowser.Model.Globalization.CountryInfo, TOutput>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.CopyTo(MediaBrowser.Model.Globalization.CountryInfo[])
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.CopyTo(MediaBrowser.Model.Globalization.CountryInfo[], System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.CopyTo(System.Int32, MediaBrowser.Model.Globalization.CountryInfo[], System.Int32, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Exists(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Find(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindAll(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindIndex(System.Int32, System.Int32, System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindIndex(System.Int32, System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindIndex(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindLast(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindLastIndex(System.Int32, System.Int32, System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindLastIndex(System.Int32, System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.FindLastIndex(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.ForEach(System.Action<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.GetEnumerator()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.GetRange(System.Int32, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.IndexOf(MediaBrowser.Model.Globalization.CountryInfo)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.IndexOf(MediaBrowser.Model.Globalization.CountryInfo, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.IndexOf(MediaBrowser.Model.Globalization.CountryInfo, System.Int32, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Insert(System.Int32, MediaBrowser.Model.Globalization.CountryInfo)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.LastIndexOf(MediaBrowser.Model.Globalization.CountryInfo)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.LastIndexOf(MediaBrowser.Model.Globalization.CountryInfo, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.LastIndexOf(MediaBrowser.Model.Globalization.CountryInfo, System.Int32, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Remove(MediaBrowser.Model.Globalization.CountryInfo)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.RemoveAll(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.RemoveAt(System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.RemoveRange(System.Int32, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Reverse()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Reverse(System.Int32, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Sort()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Sort(System.Collections.Generic.IComparer<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Sort(System.Comparison<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.Generic.IEnumerable<MediaBrowser.Model.Globalization.CountryInfo>.GetEnumerator()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.Add(System.Object)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.Contains(System.Object)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.IndexOf(System.Object)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.Remove(System.Object)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.ToArray()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.TrimExcess()
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.TrueForAll(System.Predicate<MediaBrowser.Model.Globalization.CountryInfo>)
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Capacity
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Count
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.Item[System.Int32]
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.Generic.ICollection<MediaBrowser.Model.Globalization.CountryInfo>.IsReadOnly
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.ICollection.IsSynchronized
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.ICollection.SyncRoot
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.IsFixedSize
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.IsReadOnly
    System.Collections.Generic.List<MediaBrowser.Model.Globalization.CountryInfo>.System.Collections.IList.Item[System.Int32]
    Namespace: MediaBrowser.Model.Globalization
    Assembly: MediaBrowser.Model.dll
    Syntax
    public class CountryList : List<CountryInfo>, IList<CountryInfo>, ICollection<CountryInfo>, IReadOnlyList<CountryInfo>, IReadOnlyCollection<CountryInfo>, IEnumerable<CountryInfo>, IList, ICollection, IEnumerable

    Methods

    CreateList(Boolean, Boolean)

    Creates a country list.

    Declaration
    public static CountryList CreateList(bool localizeDisplayNames = false, bool createDynamically = false)
    Parameters
    Type Name Description
    System.Boolean localizeDisplayNames

    if set to true, the DisplayName property will be localized by the current culture.

    System.Boolean createDynamically

    if set to true, the list will be created by calling System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes), otherwise, the static list defined in this class will be used.

    Returns
    Type Description
    CountryList

    A CountryList.

    Find(ReadOnlySpan<Char>)

    Finds a CountryInfo from a search string.

    Declaration
    public CountryInfo Find(ReadOnlySpan<char> countryString)
    Parameters
    Type Name Description
    System.ReadOnlySpan<System.Char> countryString

    The search string.

    Returns
    Type Description
    CountryInfo

    A CountryInfo.

    Find(String)

    Finds a CountryInfo from a search string.

    Declaration
    public CountryInfo Find(string countryString)
    Parameters
    Type Name Description
    System.String countryString

    The search string.

    Returns
    Type Description
    CountryInfo

    A CountryInfo.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IReadOnlyList<T>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    Extensions.AddIfNotExists<T>(List<T>, T)
    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.