Show / Hide Table of Contents

Class LocaleCollection

Inheritance
object
NameObjectCollectionBase
LocaleCollection
Implements
ICollection
ISerializable
IDeserializationCallback
IDictionary<string, Locale>
ICollection<KeyValuePair<string, Locale>>
IEnumerable<KeyValuePair<string, Locale>>
IEnumerable
Inherited Members
NameObjectCollectionBase.GetObjectData(SerializationInfo, StreamingContext)
NameObjectCollectionBase.OnDeserialization(object)
NameObjectCollectionBase.BaseHasKeys()
NameObjectCollectionBase.BaseAdd(string, object)
NameObjectCollectionBase.BaseRemove(string)
NameObjectCollectionBase.BaseRemoveAt(int)
NameObjectCollectionBase.BaseClear()
NameObjectCollectionBase.BaseGet(string)
NameObjectCollectionBase.BaseSet(string, object)
NameObjectCollectionBase.BaseGet(int)
NameObjectCollectionBase.BaseGetKey(int)
NameObjectCollectionBase.BaseSet(int, object)
NameObjectCollectionBase.GetEnumerator()
NameObjectCollectionBase.BaseGetAllKeys()
NameObjectCollectionBase.BaseGetAllValues()
NameObjectCollectionBase.BaseGetAllValues(Type)
NameObjectCollectionBase.IsReadOnly
NameObjectCollectionBase.Count
NameObjectCollectionBase.Keys
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke.dll
Syntax
public class LocaleCollection : NameObjectCollectionBase, ICollection, ISerializable, IDeserializationCallback, IDictionary<string, Locale>, ICollection<KeyValuePair<string, Locale>>, IEnumerable<KeyValuePair<string, Locale>>, IEnumerable

Constructors

LocaleCollection()

Declaration
public LocaleCollection()

Properties

AllKeys

Declaration
public string[] AllKeys { get; }
Property Value
Type Description
string[]

AllValues

Declaration
public Array AllValues { get; }
Property Value
Type Description
Array

HasKeys

Declaration
public bool HasKeys { get; }
Property Value
Type Description
bool

this[int]

Declaration
public DictionaryEntry this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
DictionaryEntry

this[string]

Declaration
public Locale this[string key] { get; set; }
Parameters
Type Name Description
string key
Property Value
Type Description
Locale

Values

Declaration
public ICollection<Locale> Values { get; }
Property Value
Type Description
ICollection<Locale>

Methods

Add(KeyValuePair<string, Locale>)

Declaration
public void Add(KeyValuePair<string, Locale> item)
Parameters
Type Name Description
KeyValuePair<string, Locale> item

Add(string, Locale)

Declaration
public void Add(string key, Locale value)
Parameters
Type Name Description
string key
Locale value

Add(string, object)

Declaration
public void Add(string key, object value)
Parameters
Type Name Description
string key
object value

Clear()

Declaration
public void Clear()

Contains(KeyValuePair<string, Locale>)

Declaration
public bool Contains(KeyValuePair<string, Locale> item)
Parameters
Type Name Description
KeyValuePair<string, Locale> item
Returns
Type Description
bool

ContainsKey(string)

Declaration
public bool ContainsKey(string key)
Parameters
Type Name Description
string key
Returns
Type Description
bool

CopyTo(KeyValuePair<string, Locale>[], int)

Declaration
public void CopyTo(KeyValuePair<string, Locale>[] array, int arrayIndex)
Parameters
Type Name Description
KeyValuePair<string, Locale>[] array
int arrayIndex

Remove(KeyValuePair<string, Locale>)

Declaration
public bool Remove(KeyValuePair<string, Locale> item)
Parameters
Type Name Description
KeyValuePair<string, Locale> item
Returns
Type Description
bool

Remove(string)

Declaration
public void Remove(string key)
Parameters
Type Name Description
string key

TryGetValue(string, out Locale)

Declaration
public bool TryGetValue(string key, out Locale value)
Parameters
Type Name Description
string key
Locale value
Returns
Type Description
bool

Implements

ICollection
ISerializable
IDeserializationCallback
IDictionary<TKey, TValue>
ICollection<T>
IEnumerable<T>
IEnumerable

Extension Methods

CollectionExtensions.ForEach<TType>(IEnumerable<TType>, Action<TType>)
PagingExtensions.InPagesOf<T>(IEnumerable<T>, int)
PagingExtensions.ToPagedList<T>(IEnumerable<T>, int, int)
JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS