Exemple #1
0
 public FriendLinkModel(
     IFriendLinkService friendLinkService, IBlogConfig blogConfig)
 {
     _friendLinkService      = friendLinkService;
     _blogConfig             = blogConfig;
     FriendLinkEditViewModel = new();
 }
Exemple #2
0
 public async Task Invoke(
     HttpContext context,
     IBlogConfig blogConfig,
     IFoafWriter foafWriter,
     IFriendLinkService friendLinkService,
     LinkGenerator linkGenerator)
 {
     if (context.Request.Path == "/foaf.xml")
     {
Exemple #3
0
 public WidgetsController(IFriendLinkService friendLinkService,
                          ISocialNetworkService socialNetworkService,
                          ITestimonialService testimonialService,
                          ICarouselService carouselService)
 {
     _friendLinkService    = friendLinkService;
     _socialNetworkService = socialNetworkService;
     _testimonialService   = testimonialService;
     _carouselService      = carouselService;
 }
        public SettingsController(
            IFriendLinkService friendLinkService,
            IBlogConfig blogConfig,
            IBlogAudit blogAudit,
            ILogger <SettingsController> logger)
        {
            _blogConfig = blogConfig;
            _blogAudit  = blogAudit;

            _friendLinkService = friendLinkService;
            _logger            = logger;
        }
        public AdminController(
            IOptions <AuthenticationSettings> authSettings,
            IBlogAudit blogAudit,
            ICategoryService categoryService,
            IFriendLinkService friendLinkService,
            IPageService pageService,
            ITagService tagService,
            ICommentService commentService,
            IPingbackService pingbackService,
            IBlogConfig blogConfig)
        {
            _authenticationSettings = authSettings.Value;
            _categoryService        = categoryService;
            _friendLinkService      = friendLinkService;
            _pageService            = pageService;
            _tagService             = tagService;
            _commentService         = commentService;
            _pingbackService        = pingbackService;

            _blogConfig = blogConfig;
            _blogAudit  = blogAudit;
        }
Exemple #6
0
#pragma warning disable CS1591 // 缺少对公共可见类型或成员“LinkController.LinkController(IFriendLinkService, FriendLinkMapper)”的 XML 注释
        public LinkController(IFriendLinkService friendLinkSerivce, FriendLinkMapper friendLinkMapper)
#pragma warning restore CS1591 // 缺少对公共可见类型或成员“LinkController.LinkController(IFriendLinkService, FriendLinkMapper)”的 XML 注释
        {
            this.friendLinkSerivce = friendLinkSerivce;
            this.friendLinkMapper  = friendLinkMapper;
        }
 public FriendLinkViewComponent(ILogger <FriendLinkViewComponent> logger,
                                IFriendLinkService friendLinkService)
 {
     _logger            = logger;
     _friendLinkService = friendLinkService;
 }
Exemple #8
0
 public FriendLinkModel(IFriendLinkService friendLinkService)
 {
     _friendLinkService      = friendLinkService;
     FriendLinkEditViewModel = new();
 }
Exemple #9
0
 public CommonController(INoticeinfoService noticeinfoService, IFriendLinkService friendLinkService, ITimeLineService timeLineService)
 {
     _noticeinfoService = noticeinfoService;
     _friendLinkService = friendLinkService;
     _timeLineService   = timeLineService;
 }
Exemple #10
0
 public FriendLinkController(IFriendLinkService friendLinkService)
 {
     _friendLinkService = friendLinkService;
 }