Show / Hide Table of Contents

Class UserIdCollection

Defines a collection of UserIds.

Inheritance
object
Collection<UserId>
ObservableCollection<UserId>
UserIdCollection
Implements
IList<UserId>
ICollection<UserId>
IList
ICollection
IReadOnlyList<UserId>
IReadOnlyCollection<UserId>
IEnumerable<UserId>
IEnumerable
INotifyCollectionChanged
INotifyPropertyChanged
Inherited Members
ObservableCollection<UserId>.Move(int, int)
ObservableCollection<UserId>.ClearItems()
ObservableCollection<UserId>.RemoveItem(int)
ObservableCollection<UserId>.InsertItem(int, UserId)
ObservableCollection<UserId>.SetItem(int, UserId)
ObservableCollection<UserId>.MoveItem(int, int)
ObservableCollection<UserId>.OnPropertyChanged(PropertyChangedEventArgs)
ObservableCollection<UserId>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
ObservableCollection<UserId>.BlockReentrancy()
ObservableCollection<UserId>.CheckReentrancy()
ObservableCollection<UserId>.CollectionChanged
ObservableCollection<UserId>.PropertyChanged
Collection<UserId>.Add(UserId)
Collection<UserId>.Clear()
Collection<UserId>.CopyTo(UserId[], int)
Collection<UserId>.Contains(UserId)
Collection<UserId>.GetEnumerator()
Collection<UserId>.IndexOf(UserId)
Collection<UserId>.Insert(int, UserId)
Collection<UserId>.Remove(UserId)
Collection<UserId>.RemoveAt(int)
Collection<UserId>.Count
Collection<UserId>.Items
Collection<UserId>.this[int]
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model
Assembly: Algenta.Colectica.Model.dll
Syntax
public class UserIdCollection : ObservableCollection<UserId>, IList<UserId>, ICollection<UserId>, IList, ICollection, IReadOnlyList<UserId>, IReadOnlyCollection<UserId>, IEnumerable<UserId>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Methods

AddUserId(UserId)

Adds a UserId to the collection. If the type of user identifier already exists in the collection, that idendifier is replaced.

Declaration
public void AddUserId(UserId userId)
Parameters
Type Name Description
UserId userId

The user ID.

AddUserId(string, string)

Adds a UserId to the collection. If the type of user identifier already exists in the collection, that idendifier is replaced.

Declaration
public void AddUserId(string type, string id)
Parameters
Type Name Description
string type

type of user id

string id

value of user id

GetUserId(string)

Gets the user ID of a specified type.

Declaration
public UserId GetUserId(string type)
Parameters
Type Name Description
string type

The type of user ID to return.

Returns
Type Description
UserId

Implements

IList<T>
ICollection<T>
IList
ICollection
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
INotifyCollectionChanged
INotifyPropertyChanged

Extension Methods

Extensions.Yield<T>(T)
Extensions.Merge<T>(ICollection<T>, IEnumerable<T>)
Extensions.ToChunks<T>(IEnumerable<T>, int)
ObservableCollectionExtensions.FindIndex<T>(ObservableCollection<T>, int, int, Predicate<T>)
ObservableCollectionExtensions.FindIndex<T>(ObservableCollection<T>, int, Predicate<T>)
ObservableCollectionExtensions.FindIndex<T>(ObservableCollection<T>, Predicate<T>)
In this article
Back to top Generated by DocFX