コード例 #1
0
 public SettingsController(SignInManager <OurTraceUser> signInManager,
                           UserManager <OurTraceUser> userManager,
                           IRelationsService relationsService)
 {
     this.signInManager    = signInManager;
     this.userManager      = userManager;
     this.relationsService = relationsService;
 }
コード例 #2
0
 public MessageController(IMessageService messageService,
                          IRelationsService relationsService,
                          IUserService userService)
 {
     this.messageService   = messageService;
     this.relationsService = relationsService;
     this.userService      = userService;
 }
コード例 #3
0
 public ChatHub(IRelationsService relationsService,
                INotificationService notificationService,
                IMessageService messageService)
 {
     this.relationsService    = relationsService;
     this.notificationService = notificationService;
     this.messageService      = messageService;
 }
コード例 #4
0
 public MessageService(OurTraceDbContext dbContext,
                       IMapper automapper,
                       IRelationsService relationsService)
 {
     this.dbContext        = dbContext;
     this.automapper       = automapper;
     this.relationsService = relationsService;
     this.identityService  = new IdentityService(dbContext);
 }
コード例 #5
0
ファイル: UserService.cs プロジェクト: JuganD/OurTrace
        public UserService(OurTraceDbContext dbContext,
                           IMapper mapper,
                           IRelationsService relationsService)
        {
            this.mapper           = mapper;
            this.relationsService = relationsService;

            this.wallService     = new WallService(dbContext);
            this.identityService = new IdentityService(dbContext);
        }
コード例 #6
0
ファイル: PostService.cs プロジェクト: JuganD/OurTrace
 public PostService(OurTraceDbContext dbContext,
                    IRelationsService relationsService,
                    IGroupService groupService,
                    IFileService fileService,
                    IMapper automapper)
 {
     this.dbContext        = dbContext;
     this.relationsService = relationsService;
     this.groupService     = groupService;
     this.fileService      = fileService;
     this.automapper       = automapper;
     this.wallService      = new WallService(dbContext);
     this.identityService  = new IdentityService(dbContext);
 }
コード例 #7
0
ファイル: HomeService.cs プロジェクト: JuganD/OurTrace
 public HomeService(OurTraceDbContext dbContext,
                    IMapper automapper,
                    IAdvertService advertService,
                    IRelationsService relationsService,
                    IGroupService groupService)
 {
     this.dbContext        = dbContext;
     this.automapper       = automapper;
     this.advertService    = advertService;
     this.relationsService = relationsService;
     this.groupService     = groupService;
     this.identityService  = new IdentityService(dbContext);
     this.wallService      = new WallService(dbContext);
 }
コード例 #8
0
 public RelationsController(IRelationsService relationsService,
                            INotificationService notificationService)
 {
     this.relationsService    = relationsService;
     this.notificationService = notificationService;
 }
コード例 #9
0
 /// <summary>
 /// DI constructor
 /// </summary>
 public RelationsController(IRelationsService relationsService, ILoggerService logger)
 {
     _relationsService = relationsService;
     _logger           = logger;
 }
コード例 #10
0
 public RelationsController(IRelationsService relationsService)
 {
     this.relationsService = relationsService;
 }