public TaskController(TaskRepository taskRepository, ITaskManager taskManager, ICommentManager commentManager, IAppContext appContext) { _taskRepository = taskRepository; _taskManager = taskManager; _commentManager = commentManager; _appContext = appContext; }
public IssuesController(IRepositary repositary, IIssueManager issueManager, IProjectManager projectManager, IUserSessionHelper userSessionHelper, ICommentManager commentManager) : base(repositary) { this.issueManager = issueManager; this.projectManager = projectManager; this.userSessionHelper = userSessionHelper; this.commentManager = commentManager; }
public HomeController(ILogger <HomeController> logger, IMalwareManager malwareManager, ICommentManager commentManager, IEmailService email) { this.malwareManager = malwareManager; this.commentManager = commentManager; this.email = email; _logger = logger; }
public RequsitionController(IRequsitionManager requsition, IEmployeeManager employee, IRequsitionStatusManager requsitionStatus, ICommentManager comment) { this._requsitionManager = requsition; this._employeeManager = employee; this._requsitionStatusManager = requsitionStatus; this._commentManager = comment; }
public CommentsListCore(BlogHomeItem currentBlogHomeItem, EntryItem currentEntry, IWeBlogSettings settings = null, ICommentManager commentManager = null) { CurrentBlog = currentBlogHomeItem; CurrentEntry = currentEntry; Settings = settings ?? WeBlogSettings.Instance; CommentManager = commentManager ?? ManagerFactory.CommentManagerInstance; }
public CommentsController(ApplicationDbContext context, IUserService userService, ICommentManager commentManager) { this.userService = userService; this.commentManager = commentManager; }
public HomeController(IRequsitionManager requisition, IEmployeeManager employee, ICommentManager comment) { this._employeeManager = employee; this._requisitionManager = requisition; this.commentManager = comment; }
public CommentsController( IMapper mapper, ICommentManager commentManager) : base(mapper) { _commentManager = commentManager; }
public ArticleController(IArticleManager articleManager, ICommentManager commentManager, IUserManager userManager, ILogger.ILogger logger) { this.articleManager = articleManager; this.commentManager = commentManager; this.userManager = userManager; this.logger = logger; }
public ReplyAppService( ICommentManager commentManager, IReplyManager replyManager) { _commentManager = commentManager; _replyManager = replyManager; }
/// <summary> /// 构造函数 ///</summary> public CommentAppService(IRepository <Comment, Guid> commentRepository, ICommentManager commentManager, CommentListExcelExporter commentListExcelExporter, IRepository <Post, Guid> postRepository) { _commentRepository = commentRepository; _commentManager = commentManager; _commentListExcelExporter = commentListExcelExporter; _postRepository = postRepository; }
public IssueController(ICommentManager commentManager, IUserSessionHelper userSessionHelper, IProjectManager projectManager, IIssueManager issueManager, ITeamManager teamManager) //: base(repositary) { this.issueManager = issueManager; this.projectManager = projectManager; this.userSessionHelper = userSessionHelper; this.commentManager = commentManager; this.teamManager = teamManager; }
public CommentController(IExerciseManager exerciseManager, ICourseManager courseManager, UserManager <User> userManager, ICommentManager commentManager, IMapper mapper) { this.exerciseManager = exerciseManager; this.userManager = userManager; this.commentManager = commentManager; this.mapper = mapper; }
public EntryManager( ReportDataProviderBase reportDataProvider, IEntrySearchCache cache, IWeBlogSettings settings = null, ICommentManager commentManager = null) : this(reportDataProvider, cache, settings, commentManager, null) { }
public SettingsController(IAuthManager authManager, ISmsManager smsManager, IMailManager mailManager, ICommentManager formManager, ISettingsRepository formRepository) { _authManager = authManager; _smsManager = smsManager; _mailManager = mailManager; _commentManager = formManager; _settingsRepository = formRepository; }
public UserController(IUserManager userManager, IRoleManager roleManager, IArticleManager articleManager, ILogger.ILogger logger, ICommentManager comManager) { this.userManager = userManager; this.roleManager = roleManager; this.articleManager = articleManager; this.logger = logger; this.comManager = comManager; }
public ManageLayerEditController(IAuthManager authManager, IPathManager pathManager, ICommentManager formManager, ICommentRepository dataRepository, ISettingsRepository formRepository) { _authManager = authManager; _pathManager = pathManager; _commentManager = formManager; _commentRepository = dataRepository; _settingsRepository = formRepository; }
public CommentController( ICommentManager commentManager, IMapper mapper, ILogger <CommentController> logger, IConfiguration configuration) { this.commentManager = commentManager; this.logger = logger; }
public CommentController( ICommentManager commentManager, ICarManager carManager, ILogger logger) { _commentManager = commentManager; _carManager = carManager; _logger = logger; }
public ServiceController(IServicesManager <Services> servicesManager, IServicePhotoManager <ServicePhoto> servicePhotoManager, ICommentManager <Comments> commentManager, IOrderManager <Order> orderManager) { _servicesManager = servicesManager; _servicePhotoManager = servicePhotoManager; _commentManager = commentManager; _orderManager = orderManager; }
public CommentsController(IAuthManager authManager, IUserRepository userRepository, ILogRepository logRepository, ISiteRepository sitetRepository, ICommentManager commentManager, ICommentRepository commentRepository) { _authManager = authManager; _userRepository = userRepository; _logRepository = logRepository; _sitetRepository = sitetRepository; _commentManager = commentManager; _commentRepository = commentRepository; }
public HomeController(IMalwareManager malwareManager, ILogger <HomeController> log, ICommentManager commentManager, IScreenShotManager screenShotManager, UserManager <ApplicationUser> userManager) { this.malwareManager = malwareManager; this.commentManager = commentManager; this.screenShotManager = screenShotManager; _userManager = userManager; _log = log; }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (commentManager != null) { commentManager.Dispose(); commentManager = null; } }
public NewsController( IArticleManager articleManager, ICommentManager commentManager, ILogger <NewsController> logger) { _articleManager = articleManager; _commentManager = commentManager; _logger = logger; }
/// <summary> /// Constructor for resolving Cloud manager, Post manager from DI container. /// </summary> /// <param name="cloudManager">Cloud Manager.</param> /// <param name="postManager">Post Manager.</param> /// <param name="commentManager">Comment Manager.</param> /// <param name="logger">Serilog.</param> public CommentSynchronizationService(ICloudManager cloudManager, IPostManager postManager, ICommentManager commentManager, ILogger <PostSynchronizationService> logger) { _cloudManager = cloudManager ?? throw new ArgumentNullException(nameof(cloudManager)); _postManager = postManager ?? throw new ArgumentNullException(nameof(postManager)); _commentManager = commentManager ?? throw new ArgumentNullException(nameof(commentManager)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public TicketController(IAppContext context, ITicketTypeManager typeMan, ITicketLogger tickLog, ICommentManager comManage, ITicketManager tikMan, IUserManager userMan, IDtoConverter dtoConver, IHtmlValidator htmlValid) { db = context; typeManager = typeMan; ticketLogger = tickLog; commentManager = comManage; ticketManager = tikMan; userManager = userMan; dtoConverter = dtoConver; htmlValidator = htmlValid; }
public RequsitionController(IRequsitionManager requisition, IEmployeeManager employee, IManagerManager manager, IVehicleManager vehicle, ICommentManager comment, IDriverStatusManager driverStatus, IVehicleStatusManager vehicleStatus) { this._requisitionManager = requisition; this._employeeManager = employee; this.commentManager = comment; this._managerManager = manager; this.vehicleManager = vehicle; this.driverStatusManager = driverStatus; this.vehicleStatusManager = vehicleStatus; }
public ManageController(IAuthManager authManager, IPathManager pathManager, ISiteRepository sitetRepository, IUserRepository userRepository, IContentRepository contentRepository, ICommentManager formManager, ISettingsRepository formRepository, ICommentRepository dataRepository) { _authManager = authManager; _pathManager = pathManager; _sitetRepository = sitetRepository; _userRepository = userRepository; _contentRepository = contentRepository; _commentManager = formManager; _settingsRepository = formRepository; _commentRepository = dataRepository; }
public ExerciseManagementController(IExerciseManager exerciseManager, ICourseManager courseManager, UserManager <User> userManager, ICodeManager codeManager, IMapper mapper, ICommentManager commentManager, IConfiguration configuration) { this.exerciseManager = exerciseManager; this.courseManager = courseManager; this.userManager = userManager; this.commentManager = commentManager; this.configuration = configuration; this.mapper = mapper; this.codeManager = codeManager; }
/// <summary> /// 构造函数 ///</summary> public PostAppService(IRepository <Post, Guid> postRepository, IPostManager postManager, PostListExcelExporter postListExcelExporter, IEnumExtensionsAppService enumExtensionsAppService, ITagManager tagManager, ICommentManager commentManager, IRepository <PostTag, int> postTagRepository, IBlogManager blogManager) { _postRepository = postRepository; _postManager = postManager;; _postListExcelExporter = postListExcelExporter; _enumExtensionsAppService = enumExtensionsAppService; _tagManager = tagManager; _commentManager = commentManager; _postTagRepository = postTagRepository; _blogManager = blogManager; }
public CreateCommentDlgViewModel(IParticlesManager particlesManager, IBlockManager blockManager, ICommentManager commentManager, IEventAggregator eventAggregator) { _particlesManager = particlesManager; _blockManager = blockManager; _commentManager = commentManager; _eventAggregator = eventAggregator; AddParticleVm = new AddParticleViewViewModel(particlesManager); SelectBlockCommand = new DelegateCommand(() => { var dlg = new SelectTagDlg(typeof (Guidable)); var res = dlg.ShowDialog(); if (res.HasValue && res.Value && dlg.Id.HasValue) { _myGuidable = _blockManager.GetGuidableById(dlg.Id.Value); OkCommand.RaiseCanExecuteChanged(); if (_myGuidable is Material) GuidableCaption = (_myGuidable as Material).Name; else if (_myGuidable is Block) GuidableCaption = (_myGuidable as Block).Caption; } }); OkCommand = new DelegateCommand<Window>((wnd) => { var comment = _commentManager.CreateComment(Caption, _myGuidable); if (AddParticleVm.AddParticle) if (AddParticleVm.UseNewParticle) { var particle = _particlesManager.CreateParticle(AddParticleVm.NewParticle.Material, AddParticleVm.NewParticle.Begin, AddParticleVm.NewParticle.End); _blockManager.AddParticleToBlock(comment, particle); ParticleId = particle.Id; } else if (AddParticleVm.UseExistParticle && AddParticleVm.ExistParticle.HasValue) { var particle = _particlesManager.GetParticleById(AddParticleVm.ExistParticle.Value); _blockManager.AddParticleToBlock(comment, particle); ParticleId = particle.Id; } _eventAggregator.GetEvent<BlockAddedEvent>().Publish(comment.Id); wnd.DialogResult = true; wnd.Close(); }, wnd => !String.IsNullOrWhiteSpace(Caption) && _myGuidable != null); }
public ConspEditorMainViewModel(IIdeaManager ideaManager, IMaterialManager materialManager, ITagsManager tagsManager, IParticlesManager particlesManager, IBlockManager blockManager, IEventAggregator eventAggregator, IRelationManager relationManager, ICommentManager commentManager) { _ideaManager = ideaManager; _materialManager = materialManager; _tagsManager = tagsManager; _particlesManager = particlesManager; _blockManager = blockManager; _eventAggregator = eventAggregator; _relationManager = relationManager; _commentManager = commentManager; Bookmarks = new List<string>(); _eventAggregator.GetEvent<MaterialUpdatedEvent>().Subscribe(MaterialUpdated); }
public CommentsApiController(ICommentManager commentManager, IUserAuthHelper userSessionHelper) { this.commentManager = commentManager; this.userSessionHelper = userSessionHelper; }
public CommentService(IPlatformDataSource dataSource, ICommentManager commentManager) { this._dataSource = dataSource; this._commentManager = commentManager; }
public IssueApiController(IssueManager issueManager,ICommentManager commentManager) { this.issueManager = issueManager; this.commentManager = commentManager; }
public CommentApiController(IssueManager issueManager, ICommentManager commentManager,IUserSessionHelper userSessionHelper) { this.issueManager = issueManager; this.commentManager = commentManager; this.userSessionHelper = userSessionHelper; }
public CommentsController() { this.commentManager = new CommentManager(); }