Class UserIdCollection
Defines a collection of UserIds.
Implements
Inherited Members
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 |