示例#1
0
 public ImportDocumentBatchJobExecutor(ISession session,
                                       ISetBatchJobExecutionStatus setBatchJobJobExecutionStatus, IUpdateTagsService updateTagsService, IUpdateUrlHistoryService updateUrlHistoryService)
     : base(setBatchJobJobExecutionStatus)
 {
     _session                 = session;
     _updateTagsService       = updateTagsService;
     _updateUrlHistoryService = updateUrlHistoryService;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddTagsView"/> class.
 /// </summary>
 /// <param name="user">The user.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="authorization">The authorization.</param>
 public AddTagsView(Domain.Model.User user, ITagService tagService, Authorization authorization)
     : base(user, authorization)
 {
     _updateTagService = DependencyInjection.Resolve <IUpdateTagsService>();
     _tagService       = tagService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AddTagsView"/> class.
 /// </summary>
 /// <param name="user">The user.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="authorization">The authorization.</param>
 public AddTagsView(Domain.Model.User user, ITagService tagService, Authorization authorization)
     : base(user, authorization)
 {
     _updateTagService = DependencyInjection.Resolve<IUpdateTagsService>();
     _tagService = tagService;
 }