public MetaWeblog() { //Note: This is because I am not sure how else to handle DI with http handlers _userTasks = ServiceLocator.Current.GetInstance<IUserTasks>(); _postTasks = ServiceLocator.Current.GetInstance<IPostTasks>(); _tagTasks = ServiceLocator.Current.GetInstance<ITagTasks>(); }
public PatientTasks( ITagTasks tagTasks, IBaseMapper baseMapper ) { this.tagTasks = Requires.IsNotNull(tagTasks, nameof(tagTasks)); this.baseMapper = Requires.IsNotNull(baseMapper, nameof(baseMapper)); }
public TagRegistrationTasks( ITagTasks tagTasks, IBaseMapper baseMapper ) { this.tagTasks = Requires.IsNotNull(tagTasks, nameof(tagTasks)); this.baseMapper = Requires.IsNotNull(baseMapper, nameof(baseMapper)); }
public SearchController( ISearchTasks searchTasks, ITagTasks tagTasks, IMapper<IList<Tag>, SearchPageViewModel> searchPageViewModelMapper, IMapper<IList<Assertion>, IList<Tag>, SearchResultsPageViewModel> searchResultsPageViewModelMapper) { this.searchTasks = searchTasks; this.tagTasks = tagTasks; this.searchPageViewModelMapper = searchPageViewModelMapper; this.searchResultsPageViewModelMapper = searchResultsPageViewModelMapper; }
public SearchController( ISearchTasks searchTasks, ITagTasks tagTasks, IMapper <IList <Tag>, SearchPageViewModel> searchPageViewModelMapper, IMapper <IList <Assertion>, IList <Tag>, SearchResultsPageViewModel> searchResultsPageViewModelMapper) { this.searchTasks = searchTasks; this.tagTasks = tagTasks; this.searchPageViewModelMapper = searchPageViewModelMapper; this.searchResultsPageViewModelMapper = searchResultsPageViewModelMapper; }
public TagController( ITagTasks tagTasks, ITagPageViewModelMapper tagPageViewModelMappper) { this.tagTasks = tagTasks; this.tagPageViewModelMappper = tagPageViewModelMappper; }
public MetaWeblog(IUserTasks userTasks, IPostTasks postTasks, ITagTasks tagTasks) { _userTasks = userTasks; _postTasks = postTasks; _tagTasks = tagTasks; }
/// <summary> /// Initializes a new instance of the <see cref="TagController"/> class. /// </summary> /// <param name="tagTasks">The tag tasks.</param> public TagController( ITagTasks tagTasks ) { this.tagTasks = Requires.IsNotNull(tagTasks, nameof(tagTasks)); }
public TagController(ITagTasks tagTasks) { _tagTasks = tagTasks; }
public TagController(ITagTasks tagTasks) { this.tagTasks = tagTasks; }
public TagController(ITagTasks tagTasks, ICachingService cachingService) { this.tagTasks = tagTasks; this.cachingService = cachingService; }