![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Extensions methods for the Session class. More...
Static Public Member Functions | |
| static string | GetUnusedName (this Session session, string baseName, int excludedUserId=int.MaxValue) |
| Returns an unused username that can be used for this session. More... | |
| static string | GetUnusedName (this Session session, string baseName, int excludedUserId, List< string > cachedList) |
| Returns an unused username that can be used for this session. More... | |
Extensions methods for the Session class.
Definition at line 11 of file SessionExtensions.cs.
|
static |
Returns an unused username that can be used for this session.
| session | Session object for which this is being called. |
| baseName | Base name to use for the username. |
| excludedUserId | User ID whose username excluded from the unique name check. If not specified, all users in the session will be taken into account to find a unique name. |
Definition at line 24 of file SessionExtensions.cs.
|
static |
Returns an unused username that can be used for this session.
| session | Session object for which this is being called. |
| baseName | Base name to use for the username. |
| excludedUserId | User ID whose username excluded from the unique name check. If not specified, all users in the session will be taken into account to find a unique name. |
| cachedList | Cached list that can be provided to avoid extra memory allocations. |
Definition at line 43 of file SessionExtensions.cs.