示例#1
0
 public ContentViewComponent(
     IContentRenderer contentRenderer,
     IContentAppService contentAppService)
 {
     this.contentRenderer   = contentRenderer;
     this.contentAppService = contentAppService;
 }
示例#2
0
        public ContentController(IUserAppService userService, IModulesAppService modulesService,
                                 IRoleAppService roleAppService, IContentAppService contentAppService, RoleStore roleStore,
                                 IRepository <ContentReply, long> contentReplyRepository,
                                 IContentTypeAppService contentTypeAppService,
                                 IDefineAppService defineAppService,
                                 IDistrictAppService districtAppService,
                                 IPushwayAppService pushwayAppService,
                                 IReplyPraiseAppService replyPraiseAppService,
                                 IRepository <ContentReplyFile, long> contentReplyFileRepository

                                 )

        {
            _userService       = userService;
            _modulesService    = modulesService;
            _roleAppService    = roleAppService;
            _contentAppService = contentAppService;
            _roleStore         = roleStore;

            _contentReplyRepository = contentReplyRepository;
            _districtAppService     = districtAppService;
            _pushwayAppService      = pushwayAppService;
            _defineAppService       = defineAppService;
            _contentTypeAppService  = contentTypeAppService;
            _replyPraiseAppService  = replyPraiseAppService;

            _contentReplyFileRepository = contentReplyFileRepository;
        }
示例#3
0
 public HtmlGenerateAppService(IColumnAppService columnAppService, ICacheManager cacheManager, IHtmlGenerateManager htmlGenerateManager, ISiteConfigAppService siteConfigAppService, IContentAppService contentAppService)
 {
     _columnAppService     = columnAppService;
     _cacheManager         = cacheManager;
     _htmlGenerateManager  = htmlGenerateManager;
     _siteConfigAppService = siteConfigAppService;
     _contentAppService    = contentAppService;
 }
示例#4
0
 /// <summary>
 /// 构造注入
 /// </summary>
 /// <param name="fileAppService"></param>
 /// <param name="userInfoAppService"></param>
 /// <param name="appCommonAppService"></param>
 /// <param name="contentAppService"></param>
 public AppApiAppService(IFileAppService fileAppService,
                         IUserInfoAppService userInfoAppService,
                         IAppCommonAppService appCommonAppService,
                         IContentAppService contentAppService)
 {
     _fileAppService      = fileAppService;
     _userInfoAppService  = userInfoAppService;
     _appCommonAppService = appCommonAppService;
     _contentAppService   = contentAppService;
 }
示例#5
0
 public ContentAppService_Test()
 {
     _contentAppService = Resolve <IContentAppService>();
 }
示例#6
0
 public ContentController(IContentAppService contentAppService)
 {
     _contentAppService = contentAppService;
 }
示例#7
0
 public ContentController(IUploadFileAppService uploadFileAppService, IContentAppService contentAppService)
 {
     _uploadFlieAppService = uploadFileAppService;
     _contentAppService    = contentAppService;
 }