Skip to main content

UserList

A class in Root.Township, the global namespace.

A list of users parsed from a comma-separated console argument of names or user IDs (through UserListConverter).

Constructors​

MemberWhat it is
UserList(IEnumerable<UserInfoAccess> range)Creates an UserList from range.

Fields​

1 private and internal field
MemberWhat it is
private IEnumerable<UserInfoAccess> playersThe users in the list.

Properties​

MemberWhat it is
static IEnumerable<UserInfoAccess> LastList { get; private set; }The most recently created list.

Methods​

MemberWhat it is
async Task<string> CountOrName()Returns 'no one', the single user's name, or 'N players'.
IEnumerator<UserInfoAccess> GetEnumerator()Enumerates the users.
1 private and internal method
MemberWhat it is
private IEnumerator System.Collections.IEnumerable.GetEnumerator()Enumerates the users.

Used in​

Members of other types that take, return or hold a UserList: