示例#1
0
 public StagingController(
     IDistributedFileSystemService staticFileService,
     IWebContentService webContentService,
     ILoggerFactory loggerFactory,
     ITenant tenant) : base(staticFileService, webContentService, loggerFactory, tenant)
 {
 }
示例#2
0
 public void Setup()
 {
     _webContentService = new Mock<IWebContentService>().Object;
     _feedFinder = new Mock<IFeedFinder>().Object;
     _user = new Mock<User> { CallBase = true }.Object;
     _userTasks = new UserTasks(null, null, null, _webContentService, _feedFinder, null, null, null, null, null, null, null);
 }
示例#3
0
 public UserTasks(
     IInterestTasks interestTasks,
     IImageProcessor imageProcessor,
     IFileUploadService fileUploadService,
     IWebContentService webContentService,
     IFeedFinder feedFinder,
     IUserAuthentication userAuthentication,
     IConversationRepository conversationRepository,
     IEmailService emailService,
     ILocationService locationService,
     IUserRepository userRepository,
     IPageParsingService pageParsingService, IUserInterestTasks userInterestTasks)
 {
     _interestTasks = interestTasks;
     _imageProcessor = imageProcessor;
     _fileUploadService = fileUploadService;
     _webContentService = webContentService;
     _feedFinder = feedFinder;
     _userAuthentication = userAuthentication;
     _conversationRepository = conversationRepository;
     _emailService = emailService;
     _locationService = locationService;
     _userRepository = userRepository;
     _pageParsingService = pageParsingService;
     _userInterestTasks = userInterestTasks;
 }
示例#4
0
 public TestController(ILogger logger, IEmailService emailService, IViewRenderer viewRenderer, IPageParsingService pageParsingService, IWebContentService webContentService)
 {
     _logger = logger;
     _emailService = emailService;
     _viewRenderer = viewRenderer;
     _pageParsingService = pageParsingService;
     _webContentService = webContentService;
 }
示例#5
0
 public HomeController(
     IDistributedFileSystemService staticFileService,
     IWebContentService webContentService,
     ILoggerFactory loggerFactory,
     ITenant tenant) : base(loggerFactory, tenant)
 {
     this.webContentService = webContentService;
     this.staticFileService = staticFileService;
 }
示例#6
0
        public void Ctor(
            IWebContentService webService, IResourceCacheService cacheService,
            string pathToCardsArt, CancellationToken token)
        {
            _webService     = webService;
            _cacheService   = cacheService;
            _pathToCardsArt = pathToCardsArt;

            _token = token;
        }
示例#7
0
 public SpeedWagonAdminContext(
     string path,
     IContentService cachelessContentService,
     IContentTypeService contentTypeService,
     IEditorService editorService,
     IWebContentService webContentService,
     IFileUploadService fileUploadService,
     ISearchService searchService)
 {
     this._path = path;
     this._cachelessContentService = cachelessContentService;
     this._editorService           = editorService;
     this._contentTypeService      = contentTypeService;
     this._webContentService       = webContentService;
     this._fileUploadService       = fileUploadService;
     this._searchService           = searchService;
 }