Пример #1
0
 public ReflectorViewController(IEventAggregator reflectorAggregator, HelpersViewModelFactory helpersViewModelFactory)
 {
     _helpersViewModelFactory = helpersViewModelFactory;
     _alphabetViewModel       = _helpersViewModelFactory.CreateAlphabetViewModel <SingleAlphabetViewModel>(reflectorAggregator, 0);
 }
Пример #2
0
 public RotorViewController(IEventAggregator componentAggregator, HelpersViewModelFactory helpersViewModelFactory, char[] connections, int positionShift)
 {
     _helpersViewModelFactory = helpersViewModelFactory;
     _connections             = connections;
     _alphabetViewModel       = _helpersViewModelFactory.CreateAlphabetViewModel <DoubleAlphabetViewModel>(componentAggregator, positionShift, connections);
 }