Class UserSessionOrganizationSelectorViewModel
Selector viewmodel
Inheritance
System.Object
UserSessionOrganizationSelectorViewModel
Namespace: Simplic.Studio.TenantSystem.UI
Assembly: Simplic.Studio.TenantSystem.UI.dll
Syntax
public class UserSessionOrganizationSelectorViewModel : ViewModelBase
Constructors
| Improve this Doc View SourceUserSessionOrganizationSelectorViewModel(Int32)
Initialize viewmodel
Declaration
public UserSessionOrganizationSelectorViewModel(int userId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | userId | User id |
Properties
| Improve this Doc View SourceOrganizations
Gets or sets a list of available organizations
Declaration
public IList<Organization> Organizations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Organization> |
SelectedOrganization
Gets or sets the selected organization
Declaration
public Organization SelectedOrganization { get; set; }
Property Value
Type | Description |
---|---|
Organization |