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

            _friendLinkService = friendLinkService;
            _logger            = logger;
        }
Пример #5
0
        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;
        }
Пример #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;
 }
Пример #8
0
 public FriendLinkModel(IFriendLinkService friendLinkService)
 {
     _friendLinkService      = friendLinkService;
     FriendLinkEditViewModel = new();
 }
Пример #9
0
 public CommonController(INoticeinfoService noticeinfoService, IFriendLinkService friendLinkService, ITimeLineService timeLineService)
 {
     _noticeinfoService = noticeinfoService;
     _friendLinkService = friendLinkService;
     _timeLineService   = timeLineService;
 }
Пример #10
0
 public FriendLinkController(IFriendLinkService friendLinkService)
 {
     _friendLinkService = friendLinkService;
 }