コード例 #1
0
 public SubscriptionController(IPublishedPcmMessageService publishedMessageService, ISpisSubscriptionService SpisSubscriptionService, IMessageTypeService messageTypeService,
                               IIdentityService identityService, IACLObjectService aCLObjectService)
 {
     _publishedMessageService = publishedMessageService;
     _SpisSubscriptionService = SpisSubscriptionService;
     _messageTypeService      = messageTypeService;
     _identityService         = identityService;
     _aCLObjectService        = aCLObjectService;
 }
コード例 #2
0
 public PublishMessageController(IPublishedPcmMessageService publishedMessageService,
                                 IMessageTypeService messageTypeService,
                                 IACLObjectService aclObjectService,
                                 ISpisSubscriptionService spisSubscriptionService)
 {
     _publishedMessageService = publishedMessageService;
     _messageTypeService      = messageTypeService;
     _aclObjectService        = aclObjectService;
     _spisSubscriptionService = spisSubscriptionService;
 }
コード例 #3
0
        public PcmMessageController(StmDbContext context,
                                    IPublishedPcmMessageService publishedMessageService,
                                    IACLObjectService aclObjectService,
                                    IIdentityService identityService,
                                    ISpisSubscriptionService subscriptionService,
                                    IMessageTypeService messageTypeService,

                                    IUploadedMessageService uploadedMessageService,
                                    INotificationService notificationService)
        {
            _context = context;
            _publishedMessageService  = publishedMessageService;
            _aclObjectService         = aclObjectService;
            _identityService          = identityService;
            _subscriptionService      = subscriptionService;
            _messageTypeService       = messageTypeService;
            _uploadedMessageService   = uploadedMessageService;
            _notificationService      = notificationService;
            InstanceContext.ServiceId = ConfigurationManager.AppSettings["MyIdentity"];
        }