Пример #1
0
 public void Inject(IUsersViewModelFactory factory, IUserService userService)
 {
     _factory     = factory;
     _userService = userService;
     Roles        = Enum.GetValues(typeof(Role)).Cast <Role>();
 }
Пример #2
0
 public void Inject(IUsersViewModelFactory factory)
 {
     _factory = factory;
 }
Пример #3
0
 public void Inject(IUsersViewModelFactory factory, IWindowManager windowManager)
 {
     _factory       = factory;
     _windowManager = windowManager;
 }