AppFramework.ViewModels.UserViewModel.UserViewModel C# (CSharp) Method

UserViewModel() public method

public UserViewModel ( IUserAppService appService, IRoleAppService roleAppService, IAccountService accountService, IProfileAppService profileAppService, IPermissionAppService permissionAppService ) : AppFramework.Authorization.Users
appService IUserAppService
roleAppService IRoleAppService
accountService IAccountService
profileAppService IProfileAppService
permissionAppService IPermissionAppService
return AppFramework.Authorization.Users
        public UserViewModel(IUserAppService appService,
            IRoleAppService roleAppService,
            IAccountService accountService,
            IProfileAppService profileAppService,
            IPermissionAppService permissionAppService)
        {
            IsAdvancedFilter = false;
            input = new GetUsersInput
            {
                Filter = "",
                MaxResultCount = AppConsts.DefaultPageSize,
                SkipCount = 0
            };
            roleList = new ObservableCollection<RoleListModel>();
            this.appService = appService;
            this.roleAppService = roleAppService;
            this.accountService = accountService;
            this.profileAppService = profileAppService;
            this.permissionAppService = permissionAppService;

            AdvancedCommand = new DelegateCommand(() => { IsAdvancedFilter = !IsAdvancedFilter; });
            SelectedCommand = new DelegateCommand(SelectedPermission);
            SearchCommand = new DelegateCommand(SearchUser);
            ResetCommand = new DelegateCommand(Reset);
            UpdateTitle();

            dataPager.OnPageIndexChangedEventhandler += UsersOnPageIndexChangedEventhandler;
        }