public NewLocationViewmodel(IEnumerable <NewRelatedLocationViewmodel> relatedLocations,
                             Action closeCallback,
                             IGameScreenContext gameScreenContext)
 {
     _closeCallback     = closeCallback;
     _gameScreenContext = gameScreenContext;
     SaveCommand        = new AwaitableDelegateCommand(OnSaveClicked);
     Locations          = new ObservableCollection <NewRelatedLocationViewmodel>(relatedLocations);
 }
 public ContextNodeService(IGameScreenContext gameScreenContext)
 {
     _gameScreenContext = gameScreenContext;
 }
示例#3
0
 public ContextLocationService(IGameScreenContext gameScreenContext)
 {
     _gameScreenContext = gameScreenContext;
 }