Class GroupViewModel
View model for the group entity
Inheritance
System.Object
GroupViewModel
Implements
Namespace: Simplic.User.UI
Assembly: Simplic.User.UI.dll
Syntax
public class GroupViewModel : ViewModelBase, INamedEntity
Constructors
| Improve this Doc View SourceGroupViewModel()
Default constructor for the view model
Declaration
public GroupViewModel()
GroupViewModel(Group.Group)
Copy constructor
Declaration
public GroupViewModel(Group.Group group)
Parameters
Type | Name | Description |
---|---|---|
Group.Group | group |
GroupViewModel(Int32, Int32, String, Boolean)
Constructor for the view model
Declaration
public GroupViewModel(int groupId, int ident, string groupName, bool isDefault)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | groupId | Group ID |
System.Int32 | ident | Group ident |
System.String | groupName | Group name |
System.Boolean | isDefault | Group's default flag |
Properties
| Improve this Doc View SourceGroupId
Group ID
Declaration
public int GroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Ident
Group ident
Declaration
public int Ident { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsDefault
Group's default flag
Declaration
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Group name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Users
Group's users collection
Declaration
public ObservableCollection<UserViewModel> Users { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<UserViewModel> |