public PostsRssItemsProvider(PostsRepository <TUserPk> postsRepository, LinkGenerator linkGenerator, ICommentsProvider <TUserPk> commentsProvider) { _postsRepository = postsRepository; _linkGenerator = linkGenerator; _commentsProvider = commentsProvider; }
protected BasePostsController( BaseControllerContext <Post <TUserPk>, PostsRepository <TUserPk> > context, TagsRepository tagsRepository, ICommentsProvider <TUserPk> commentsProvider) : base(context) { TagsRepository = tagsRepository; _commentsProvider = commentsProvider; }
public NewsProvider(DomainModelMySqlContext context, ILoggerFactory loggerFactory, ICommentsProvider commentsProvider) { _context = context; _logger = loggerFactory.CreateLogger("NewsProvider"); _commentsProvider = commentsProvider; }
public PostsController(BaseControllerContext <Post <string>, PostsRepository <string> > context, TagsRepository tagsRepository, ICommentsProvider <string> commentsProvider, IAuthorizationService authorizationService, ICurrentUserProvider <string> currentUserProvider) : base( context, tagsRepository, commentsProvider) { _authorizationService = authorizationService; _currentUserProvider = currentUserProvider; }
public DefaultInterfacePropertyMapper( IPropertyNameMapper propertyNameMapper, IPropertyTypeMapper propertyTypeMapper, ICommentsProvider commentsProvider ) { _propertyNameMapper = propertyNameMapper; _propertyTypeMapper = propertyTypeMapper; _commentsProvider = commentsProvider; }
public CommentsService(IUsersService usersService, ICommentsProvider commentsProvider, ILongRandomGenerator randomGenerator, INewsProvider newsProvider, ILoggerFactory loggerFactory) { _usersService = usersService; _commentsProvider = commentsProvider; rand = randomGenerator; _newsProvider = newsProvider; _logger = loggerFactory.CreateLogger("NewsService"); }
public TypeDefinitionMapper( ICommentsProvider commentsProvider, ITypeDefinitionNameMapper typeDefinitionNameMapper, ILiteralTypeMapper literalTypeMapper, IEnumFieldsProvider enumFieldsProvider, IExportStrategy exportStrategy ) { _commentsProvider = commentsProvider; _literalTypeMapper = literalTypeMapper; _enumFieldsProvider = enumFieldsProvider; _exportStrategy = exportStrategy; _typeDefinitionNameMapper = typeDefinitionNameMapper; }
public DefaultServiceMethodMapper( IMethodNameMapper methodNameMapper, IMethodUrlMapper methodUrlMapper, IHttpMethodMapper httpMethodMapper, IServiceMethodParameterMapper serviceMethodParameterMapper, IMethodReponseMapper methodReponseMapper, ICommentsProvider commentsProvider) { _methodNameMapper = methodNameMapper; _methodUrlMapper = methodUrlMapper; _httpMethodMapper = httpMethodMapper; _serviceMethodParameterMapper = serviceMethodParameterMapper; _methodReponseMapper = methodReponseMapper; _commentsProvider = commentsProvider; }
public DefaultInterfaceMapper( ICommentsProvider commentsProvider, IInterfaceNameMapper interfaceNameMapper, IInterfacePropertyMapper interfacePropertyMapper, IExpendTypesProvider expendTypesProvider, IExportStrategy exportStrategy, ITypeReferenceMapper typeReferenceMapper, IInterfacePropertiesProvider interfacePropertiesProvider ) { _interfacePropertyMapper = interfacePropertyMapper; _expendTypesProvider = expendTypesProvider; _exportStrategy = exportStrategy; _typeReferenceMapper = typeReferenceMapper; _interfacePropertiesProvider = interfacePropertiesProvider; _commentsProvider = commentsProvider; _interfaceNameMapper = interfaceNameMapper; }
public CommentsRepository(ICommentsProvider commentsProvider) { _commentsProvider = commentsProvider; }