Beispiel #1
0
        public AccountController(
            IUsersService usersService,
            ITokenStoreService tokenStoreService,
            ITokenFactoryService tokenFactoryService,
            IUnitOfWork uow,
            IAntiForgeryCookieService antiforgery,
            ITagServices tagServices,
            IZirReshtehServices zirReshteh
            )
        {
            _zirreshteh   = zirReshteh;
            _Tags         = tagServices;
            _usersService = usersService;
            _usersService.CheckArgumentIsNull(nameof(usersService));

            _tokenStoreService = tokenStoreService;
            _tokenStoreService.CheckArgumentIsNull(nameof(tokenStoreService));

            _uow = uow;
            _uow.CheckArgumentIsNull(nameof(_uow));

            _antiforgery = antiforgery;
            _antiforgery.CheckArgumentIsNull(nameof(antiforgery));

            _tokenFactoryService = tokenFactoryService;
            _tokenFactoryService.CheckArgumentIsNull(nameof(tokenFactoryService));
        }
Beispiel #2
0
 public EfArticleManager(IRepository <Article> repository, ITagServices tagServices, IUserServices userServices, IArticleTagsServices articleTagsServices, IMapper mapper) : base(repository)
 {
     _repository          = repository;
     _tagServices         = tagServices;
     _userServices        = userServices;
     _articleTagsServices = articleTagsServices;
     _mapper = mapper;
 }
 public AdminController(ApplicationUserManager userManager, IDropdownServices dropdownServices, IJobServices jobServices, IAddressServices addressServices, ITagServices tagServices, ICommonServices commonServices)
 {
     this.jobServices      = jobServices;
     this.addressServices  = addressServices;
     this.tagServices      = tagServices;
     this.commonServices   = commonServices;
     this.dropdownServices = dropdownServices;
     this.userManager      = userManager;
 }
Beispiel #4
0
 public ControllerServices(
     ITagServices tagServices,
     ITagDataServices tagDataServices,
     IMapper mapper,
     ILogger <ControllerServices> logger,
     INotificador notificator,
     IHubContext <NewTagHub> tagHub,
     IUserServices user,
     IProfileServices profile,
     IHttpContextAccessor accessor,
     IIpServices ipServices)
 {
     this.tagServices     = tagServices;
     this.tagDataServices = tagDataServices;
     this.mapper          = mapper;
     this.logger          = logger;
     this.notificator     = notificator;
     this.tagHub          = tagHub;
     this.user            = user;
     this.profile         = profile;
     this.accessor        = accessor;
     this.ipServices      = ipServices;
 }
Beispiel #5
0
 public BoardsController(IBoardServices boardServices, ITagServices tagServices)
 {
     _boardServices = boardServices;
     _tagServices   = tagServices;
 }
 public TagManagerController(ITagServices tagServices)
 {
     _tagServices = tagServices;
 }
Beispiel #7
0
 public TagController(IArticleServiceAddGetArticleComment articleService, ITagServices tagServices)
 {
     this.articleService = articleService;
     this.tagServices    = tagServices;
 }
 public manageSoalsController(ITagServices tags)
 {
     _tags = tags;
 }
 public manageJavabController(ITagServices tags)
 {
     _tags = tags;
 }
Beispiel #10
0
 public TagController(ITagRepository tagRepository,
                      ITagServices tagServices)
 {
     _tagRepository = tagRepository;
     _tagServices   = tagServices;
 }
 public EfArticleTagManager(IRepository <ArticleTag> repository, ITagServices tagServices) : base(repository)// IArticleServices articleServices
 {
     _repository = repository;
     //_articleServices = articleServices;
     _tagServices = tagServices;
 }
Beispiel #12
0
 public TagController(ITagServices tagServices)
 {
     _tagServices = tagServices;
 }
Beispiel #13
0
 public TagsController(ITagServices tagServices)
 {
     _tagServices = tagServices;
 }
Beispiel #14
0
 public UserTagController(IUsersService usersService, ITagServices tag)
 {
     _user = usersService;
     _tag  = tag;
 }
 public TagsAPIController(ITagServices tagServices)
 {
     this._tagServices = tagServices;
 }
 public ReportServices(InsightHubContext context, ITagServices tagServices)
 {
     this._context     = context ?? throw new ArgumentNullException("Context can NOT be null.");
     this._tagServices = tagServices ?? throw new ArgumentNullException("Tag Services can NOT be null.");
 }
 public EntryController(IEntryServices entryServices, ICommentServices commentServices, ITagServices tagServices, IConfigurationInfo config, IModelCache cache) : base(entryServices, commentServices, config) 
 {
     _tagServices = tagServices;
     _cache = cache;
 }
 public TagsController(ITagServices entityServices, IRepository <Tag> entityRepository)
 {
     _entityServices   = entityServices;
     _entityRepository = entityRepository;
 }
 public TemplateServices(IBuildHandler buildHandler, ITagServices tagServices)
 {
     this.BuildHandler = buildHandler;
     this.TagServices  = tagServices;
 }
 public CachingTagServices(ITagServices nonCachingTagServices, IModelCache cache, ICacheConfigurationInfo config)
 {
     _tagServices = nonCachingTagServices;
     _cache = cache;
     _config = config;
 }
Beispiel #21
0
 public BuildService(IBuildHandler buildHandler, ITagServices tagServices, ITemplateServices templateServices)
 {
     this.BuildHandler     = buildHandler;
     this.TagServices      = tagServices;
     this.TemplateServices = templateServices;
 }
 public TemplateController(IEntryServices entryServices, ICommentServices commentServices, IConfigurationInfo config, ITagServices tagServices, ILinkServices linkServices) : base(entryServices, commentServices, config) 
 {
     _tagServices = tagServices;
     _linkServices = linkServices;
 }
 public TagsController(ITagServices itag, IUsersService users)
 {
     _user = users;
     _tags = itag;
 }
 public HomeController(ITagServices tagServices, ITweetServices tweetServices)
 {
     this.tagServices = tagServices;
     this.tweetServices = tweetServices;
 }
 public PostManagerController(ICategoryServices categoryServices, ITagServices tagServices, IPostServices postServices)
 {
     _categoryServices = categoryServices;
     _tagServices      = tagServices;
     _postServices     = postServices;
 }
Beispiel #26
0
 public manageReshtehController(ITagServices tags)
 {
     _tags = tags;
 }
Beispiel #27
0
 /// <summary>
 /// constructor de la clase
 /// </summary>
 /// <param name="tagServices"></param>
 /// <param name="mapper"></param>
 public TagsController(ITagServices tagServices, IMapper mapper)
 {
     _tagsServices = tagServices;
     _mapper       = mapper;
 }