public NewPostViewModel(IFindierService findierService, IInsightsService insightsService) { _findierService = findierService; _insightsService = insightsService; PublishCommand = new DelegateCommand(PublishExecute); }
public LibraryMatchingService(ILibraryService libraryService, IMatchEngineService matchEngineService, IInsightsService insightsService, IDownloadService downloadService) { _libraryService = libraryService; _matchEngineService = matchEngineService; _insightsService = insightsService; _downloadService = downloadService; }
public NavigationService(Frame frame, ISettingsUtility settingsUtility, IInsightsService insightsService) { _settingsUtility = settingsUtility; _insightsService = insightsService; _frame = new NavigationFacade(frame); _frame.Navigating += (s, e) => NavigatedFrom(false); _currentView = SystemNavigationManager.GetForCurrentView(); }
public TrackSaveService( ILibraryService libraryService, IConverter <WebSong, Track> webSongConverter, ILibraryMatchingService matchingService, IInsightsService insightsService, IStorageUtility storageUtility, IDownloadService downloadService) { _libraryService = libraryService; _webSongConverter = webSongConverter; _matchingService = matchingService; _insightsService = insightsService; _storageUtility = storageUtility; _downloadService = downloadService; }
public TrackSaveService( ILibraryService libraryService, IConverter<WebSong, Track> webSongConverter, ILibraryMatchingService matchingService, IInsightsService insightsService, IStorageUtility storageUtility, IDownloadService downloadService) { _libraryService = libraryService; _webSongConverter = webSongConverter; _matchingService = matchingService; _insightsService = insightsService; _storageUtility = storageUtility; _downloadService = downloadService; }
public PostViewModel(IFindierService findierService, IInsightsService insightsService) { _findierService = findierService; _insightsService = insightsService; CallCommand = new DelegateCommand(CallExecute); TextCommand = new DelegateCommand(TextExecute); EmailCommand = new DelegateCommand(EmailExecute); NewCommentCommand = new DelegateCommand(NewCommentExecute); EditCommand = new DelegateCommand(EditExecute); DeleteCommand = new DelegateCommand(DeleteExecute); if (IsInDesignMode) { CanEdit = true; OnNavigatedTo(null, NavigationMode.New, new Dictionary <string, object>()); } }
public EditPostViewModel(IFindierService findierService, IInsightsService insightsService) { _findierService = findierService; _insightsService = insightsService; EditCommand = new DelegateCommand(EditExecute); if (IsInDesignMode) { OnNavigatedTo(new Post { Title = "5 dollar app icons", Text = "Studying gfx design and trying to do some freelance work on the side.\n\nCan do flat and minimilistic look. Text or icon based.", Email = "*****@*****.**", IsNsfw = true }, NavigationMode.New, new Dictionary <string, object>()); } }
public InsightsController(IInsightsService insightsService, ISessionService sessionService) { _insightsService = insightsService; _sessionService = sessionService; }
public BaseViewModel() { validator = new ValidationHelper(); _insightsService = Mvx.Resolve <IInsightsService>(); }
public InsightsController(IInsightsService service) { _insightService = service; }