Show / Hide Table of Contents

Class CategoryInfoKeyedCollection

A keyed collection of CategoryInfo objects.

Inheritance
System.Object
System.Collections.ObjectModel.Collection<CategoryInfo>
System.Collections.ObjectModel.KeyedCollection<System.Int32, CategoryInfo>
CategoryInfoKeyedCollection
Implements
System.Collections.Generic.IList<CategoryInfo>
System.Collections.Generic.ICollection<CategoryInfo>
System.Collections.Generic.IReadOnlyList<CategoryInfo>
System.Collections.Generic.IReadOnlyCollection<CategoryInfo>
System.Collections.Generic.IEnumerable<CategoryInfo>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.ChangeItemKey(Phoenix.DeviceCommands.CategoryInfo, System.Int32)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.ClearItems()
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.Contains(System.Int32)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.GetKeyForItem(Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.InsertItem(System.Int32, Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.Remove(System.Int32)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.RemoveItem(System.Int32)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.SetItem(System.Int32, Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.TryGetValue(System.Int32, Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.Comparer
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.Dictionary
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Add(Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Clear()
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.ClearItems()
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Contains(Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.CopyTo(Phoenix.DeviceCommands.CategoryInfo[], System.Int32)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.GetEnumerator()
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.IndexOf(Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Insert(System.Int32, Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.InsertItem(System.Int32, Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Remove(Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.SetItem(System.Int32, Phoenix.DeviceCommands.CategoryInfo)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Count
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.Items
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.Generic.ICollection<Phoenix.DeviceCommands.CategoryInfo>.IsReadOnly
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Phoenix.DeviceCommands.CategoryInfo>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.DeviceCommands
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
public class CategoryInfoKeyedCollection : KeyedCollection<int, CategoryInfo>, IList<CategoryInfo>, ICollection<CategoryInfo>, IReadOnlyList<CategoryInfo>, IReadOnlyCollection<CategoryInfo>, IEnumerable<CategoryInfo>, IList, ICollection, IEnumerable

Methods

View Source

GetItemAtIndex(Int32)

Retrieves the CategoryInfo at the specified index.

Declaration
public CategoryInfo GetItemAtIndex(int index)
Parameters
Type Name Description
System.Int32 index

The index of the item.

Returns
Type Description
CategoryInfo

The CategoryInfo at the specified index.

View Source

GetKeyForItem(CategoryInfo)

Gets the key from the object.

Declaration
protected override int GetKeyForItem(CategoryInfo item)
Parameters
Type Name Description
CategoryInfo item

The item to get a key for.

Returns
Type Description
System.Int32

The key for the item.

Overrides
System.Collections.ObjectModel.KeyedCollection<System.Int32, Phoenix.DeviceCommands.CategoryInfo>.GetKeyForItem(Phoenix.DeviceCommands.CategoryInfo)
View Source

GetMenuPathCategoryId(String)

Gets the Id of the specified menu path.

Declaration
public int GetMenuPathCategoryId(string path)
Parameters
Type Name Description
System.String path

The path to search for.

Returns
Type Description
System.Int32

The id of the category if found, -1 if not found.

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

IListExtensions.FirstIndexOf<T>(IList<T>, Func<T, Boolean>)
IListExtensions.FirstIndexOf<T>(IList<T>, T, IEqualityComparer<T>)
  • View Source
In This Article
Back to top Generated by DocFX