public EntryController(ILogger <EntryController> logger, IEntryService entryService, IEntryRatingService entryRatingService, UserManager <User> userManager) { _userManager = userManager; _logger = logger; _entryService = entryService; _entryRatingService = entryRatingService; }
public EntryViewModel(EntryReference entryReference, IEntryService entryService, SynchronizationContext synchronizationContext) { _entryReference = entryReference; _entryService = entryService; _synchronizationContext = synchronizationContext; AttachmentPreviews = new ObservableCollection <AttachmentPreviewViewModel>(); }
public EntryController(IEntryService entryService, ICommentService commentService, IBlogService blogService, ITagService tagService) { _entryService = entryService; _commentService = commentService; _blogService = blogService; _tagService = tagService; }
public EntryController(IEntryService entryService, IPrincipal principal, ISecurityService securityService) { _entryService = entryService; _principal = principal; _securityService = securityService; _userId = securityService.GetUserId(principal.Identity.Name); }
public ActivityProjector( IDbService dbService, IPersistStreams persistStreams, IEntryService entryService, IUserService userService, ILogger <ActivityProjector> logger, IOptions <Configuration> applicationConfiguration) : base(persistStreams, dbService) { var conventionalDispatcher = new ConventionBasedEventDispatcher(c => Checkpoint = c.ToSome(), commit => { logger.LogWarning($"Commit contains null events. CommitId:{commit.CommitId}, CommitSequence:{commit.CommitSequence}, StreamId:{commit.StreamId}, StreamRevision:{commit.StreamRevision}, EventCount:{commit.Events.Count}, AggregateId {commit.AggregateId()}"); }) .FirstProject <EntryCreated>(OnEntryCreated) .ThenProject <EntryUpdated>(OnEntryUpdated) .ThenProject <EntryRemoved>(OnEntryRemoved) .ThenProject <PlacementCreated>(OnPlacementCreated) .ThenProject <PlacementUpdated>(OnPlacementUpdated) .ThenProject <PlacementRemoved>(OnPlacementRemoved) .ThenProject <SkillSelfAssessmentCreated>(OnSelfAssessmentCreated) .ThenProject <SkillSelfAssessmentUpdated>(OnSelfAssessmentUpdated) .ThenProject <SkillSelfAssessmentRemoved>(OnSelfAssessmentRemoved) .ThenProject <EntryShared>(OnEntryShared) .ThenProject <EntryCollaboratorRemoved>(OnEntryCollaboratorRemoved) .ThenProject <EntryCommentCreated>(OnEntryCommentCreated); _conventionProjector = new ConventionBasedCommitProjecter(this, dbService, conventionalDispatcher); _entryService = entryService; _userService = userService; _applicationConfiguration = applicationConfiguration; }
public MySummaryExpensesViewModel(IDialogService dialogService, INavigationService navigationService, ILoggerService loggerService, IEntryService entryService) : base(dialogService, navigationService, loggerService) { _entryService = entryService; }
public EntriesController(IMapper mapper, IEntryService entryService) { this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.entryService = entryService ?? throw new ArgumentNullException(nameof(entryService)); }
public EntryPermissionService(IEntryService entryService, IUserRepository userRepository, IBoxRepository boxRepository) { _entryService = entryService; _userRepository = userRepository; _boxRepository = boxRepository; }
protected override async Task ArrangeTest() { await base.ArrangeTest(); _entryService = GetService <IEntryService>(); _journalService = GetService <IJournalService>(); }
public EntryApplicationService( IMapper mapper, IEntryService entryService) { _entryService = entryService; _mapper = mapper; }
public AdministratorController(IBlogService blogService, IEntryService entryService, IUserService userService, ITagService tagService, ICommentService commentService) { _blogService = blogService; _entryService = entryService; _userService = userService; _tagService = tagService; _commentService = commentService; }
public EntryServiceTest() { _service = new EntryService(); _journal = Helpers.GetJournal(); var entries = Helpers.GetEntries(4, _journal.Id); Helpers.AddEntriesToJournal(_journal, entries); }
public CreateEnytryHandler(IBusClient busClient, IEntryService entryService, ILogger <CreateEnytryHandler> logger) { _busClient = busClient; _entryService = entryService; _logger = logger; }
public PhoneBookController( IEntryService entryService, IPhoneBookService phoneBookService, IPhoneBookRepository phoneBookRepository) { _entryService = entryService; _phoneBookService = phoneBookService; _phoneBookRepository = phoneBookRepository; }
public HomeController(ILogger <PostController> logger, IPostService postService, IPostCategoryService postCategoryService, IEntryService entryService, IAccountService accountService, IRestSharpService restSharpService) { _logger = logger; _postService = postService; _postCategoryService = postCategoryService; _entryService = entryService; _accountService = accountService; _restSharpService = restSharpService; }
public EntryController( ITokenService tokenService, IUserService userService, IEntryService entryService) { _tokenService = tokenService; _userService = userService; _entryService = entryService; }
public HomeAssembler( IEntryService entryService, ITimeService timeService, IUserSettingsService userSettingService) { _entryService = entryService; _timeService = timeService; _userSettingsService = userSettingService; }
public EntryService(ApiDbContext context, ILoggerFactory loggerFactory, IMapper mapper , IEntryService defaultEntryService, ICompetitionGameService gameService) { _mapper = mapper; _logger = loggerFactory.CreateLogger <GameService>(); _defaultEntryService = defaultEntryService; _gameService = gameService; _context = context; }
public DefaultEventService(ApiDbContext context, ILoggerFactory loggerFactory, IMapper mapper, IEntryService defaultEntryService, IRandomDrawEventService randomDrawEventService) { _context = context; _mapper = mapper; _logger = loggerFactory.CreateLogger <DefaultEventService>(); _defaultEntryService = defaultEntryService; _randomDrawEventService = randomDrawEventService; }
public CreateBookEntryViewModel(IEntryService entryService, IEventAggregator eventAggregator, IThumbnailGeneratorService thumbnailGeneratorService) { _entryService = entryService; _eventAggregator = eventAggregator; _thumbnailGeneratorService = thumbnailGeneratorService; _eventAggregator.GetEvent <MediaReceivedMessage>().Subscribe(HandleMediaReceived); _eventAggregator.GetEvent <InAppInfoMessage>().Subscribe(HandleInAppInfoMessageReceived); Attachments = new ObservableCollection <MediaDataViewModel>(); InfoMessages = new ObservableCollection <string>(); }
public UsersController( ILogger <UsersController> logger, IUserService userService, ISkillService skillService, IEntryService entryService) { _logger = logger; _userService = userService; _skillService = skillService; _entryService = entryService; }
public GameService(ILoggerFactory loggerFactory, IMapper mapper, IGameService defaultGameService, IEntryService defaultEntryService, IEventService defaultEventService, IChainService defaultChainService) { _mapper = mapper; _logger = loggerFactory.CreateLogger <GameService>(); _defaultGameService = defaultGameService; _defaultEntryService = defaultEntryService; _defaultEventService = defaultEventService; _defaultChainService = defaultChainService; }
public BannerWidgetService( IRepository<SeasonPartRecord> seasonRepository, IOrchardServices services, IEntryService entryService, ISeasonService seasonService) { _seasonRepository = seasonRepository; Services = services; _entryService = entryService; _seasonService = seasonService; }
public KarmaController( IEntryKarmaService entryKarmaService, ICommentKarmaService commentKarmaService, IEntryService entryService, ICommentService commentService ) { this.entryKarmaService = entryKarmaService; this.commentKarmaService = commentKarmaService; this.entryService = entryService; this.commentService = commentService; }
public MarksController(IMarkService markService, IEntryService entryService, IEventService eventService, UserManager <UserEntity> userManager, IAuthService authService) { _markService = markService; _entryService = entryService; _eventService = eventService; _userManager = userManager; _authService = authService; }
public EntriesController( ILogger <EntriesController> logger, IEntryService entryService, ISkillService skillService, ISelfAssessmentService selfAssessmentService, IUserService userService) { _logger = logger; _entryService = entryService; _skillService = skillService; _selfAssessmentService = selfAssessmentService; _userService = userService; }
public Services( IEntryService entryService, IUserService userService, IConfigService configService, IMessageService messageService, ICloudService cloudService) { Entry = entryService; User = userService; Config = configService; Message = messageService; Cloud = cloudService; }
public CategoryController( IOrchardServices services, ISeasonService seasonService, ICategoryService categoryService, IEntryService entryService, ISiteService siteService, IShapeFactory shapeFactory) { _services = services; _seasonService = seasonService; _categoryService = categoryService; _entryService = entryService; _siteService = siteService; Shape = shapeFactory; }
public EntriesController(IEntryService entryService, IAuthenticationProvider authenticationProvider) { if (entryService == null) { throw new ArgumentNullException(nameof(entryService)); } if (authenticationProvider == null) { throw new ArgumentNullException(nameof(authenticationProvider)); } this.entryService = entryService; this.authenticationProvider = authenticationProvider; }
public RootQuery(IEntryService entryService) { Name = "entries"; FieldAsync <ListGraphType <EntryType> >( "entries", arguments: new QueryArguments(new QueryArgument <NonNullGraphType <IdGraphType> > { Name = "userId" }), resolve: async context => { var id = context.GetArgument <Guid>("userId"); return(await context.TryAsyncResolve( async c => await entryService.GetUserEntries(id))); }); }
public Services( IEntryService entryService, IUserService userService, IConfigService configService, IMessageService messageService, ICloudService cloudService, IThemeService themeService) { Entry = entryService; User = userService; Config = configService; Message = messageService; Cloud = cloudService; Theme = themeService; }
public EntriesController( IWebHostEnvironment environment, UserManager <ApplicationUser> userManager, IEntryService entryService, ITopicService topicService, ISitemapService sitemapService, IConfiguration configuration, IMemoryCache cache) : base(environment) { _entryService = entryService; _topicService = topicService; _userManager = userManager; _sitemapService = sitemapService; _configuration = configuration; _cache = cache; }
public Services( IEntryService entryService, IUserService userService, IConfigService configService, IMessageService messageService, ICloudService cloudService, IThemeService themeService, IAboutService aboutService, IImageService imageService) { Entry = entryService; User = userService; Config = configService; Message = messageService; Cloud = cloudService; Theme = themeService; About = aboutService; Image = imageService; }
public EntryPartHandler(IRepository<EntryPartRecord> repository, ICategoryService categoryService, IEntryService entryService, RequestContext requestContext) { Filters.Add(StorageFilter.For(repository)); _categoryService = categoryService; _entryService = entryService; OnGetDisplayShape<EntryPart>(SetModelProperties); OnGetEditorShape<EntryPart>(SetModelProperties); OnUpdateEditorShape<EntryPart>(SetModelProperties); OnCreated<EntryPart>((context, part) => UpdateCategoryEntryCount(part)); OnPublished<EntryPart>((context, part) => UpdateCategoryEntryCount(part)); OnUnpublished<EntryPart>((context, part) => UpdateCategoryEntryCount(part)); OnVersioned<EntryPart>((context, part, newVersionPart) => UpdateCategoryEntryCount(newVersionPart)); OnRemoved<EntryPart>((context, part) => UpdateCategoryEntryCount(part)); OnRemoved<CategoryPart>( (context, b) => entryService.Get(context.ContentItem.As<CategoryPart>()).ToList().ForEach( entry => context.ContentManager.Remove(entry.ContentItem))); }
public EntryType(IEntryRepository entryRepository, IEntryService entryService) { Field(e => e.WineName); Field(e => e.Country); Field(e => e.Region); Field(e => e.Producer); Field(e => e.Notes); Field(e => e.Vintage); Field(e => e.Tags); Field(e => e.Id, type: typeof(IdGraphType)); Field(e => e.UserId, type: typeof(IdGraphType)); Field(e => e.DateAdded, type: typeof(DateGraphType)); Field(e => e.LastModified, type: typeof(DateGraphType)); Field <ListGraphType <VarietalType> >("varietals", resolve: context => { return(entryRepository.GetEntryVarietals(context.Source.Id)); }); Field <StringGraphType>("wineLabel", resolve: context => { return(entryService.GetEntryWineLabelBase64(context.Source.Id)); }); }
public EntryServiceTests(IEntryService entryService) { _entryService = entryService; }
public TagController(ITagService tagService, IEntryService entryService) { _tagService = tagService; _entryService = entryService; }
public EntryController(IEntryService service) { _service = service; }
public EntryController(IEntryService entryService) { _entryService = entryService; }
// TODO ADD PERMISSIONS ON THESE METHODS public EntriesController(IEntryService entryService, IMapper mapperService) { _entryService = entryService; _mapperService = mapperService; }
public EntryController(IEntryService entryService) { _entryService = entryService; }
public EntryController(IEntryService entryService) : base(entryService) { }
public void SetUp() { _entryRepository = new Mock<IEntryRepository>(); _entryService = new EntryService(_entryRepository.Object); }
public WebChangedNotificationListViewModel(IEntryService service) { Entries = service.SelectEntries (); }
public CommentController(ICommentService commentService, IEntryService entryService, IUserService userService) { _commentService = commentService; _entryService = entryService; _userService = userService; }
public MainViewModel(IEntryService entryService) { _entryService = entryService; }
public BlogController(IBlogService blogService, IEntryService entryService) { _blogService = blogService; _entryService = entryService; }
public EntryController(ISessionStateProvider sessionStateProvider, IEntryService entryService) { this.sessionStateProvider = sessionStateProvider; this.entryService = entryService; }
public HomeController() { _entryService = new EntryService(); _validationService = new ValidationService(); }