Class UserIdCollection
Defines a collection of UserIds.
Implements
Inherited Members
System.Collections.ObjectModel.Collection<Algenta.Colectica.Model.UserId>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Algenta.Colectica.Model.UserId>.System.Collections.IList.set_Item(System.Int32, System.Object)
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 |