コード例 #1
0
        public RecordingManagementService(IRecordingRepository recordingRepository, IGroupManagementService groupManagementService, ISpeakerManagementService speakerManagementService, IStatusManagementService statusManagementService)
        {
            Check.Require(recordingRepository != null, "recordingRepository may not be null");
            Check.Require(groupManagementService != null, "groupManagementService may not be null");
            Check.Require(speakerManagementService != null, "speakerManagementService may not be null");
            Check.Require(statusManagementService != null, "statusManagementService may not be null");

            this.recordingRepository = recordingRepository;
            this.groupManagementService = groupManagementService;
            this.speakerManagementService = speakerManagementService;
            this.statusManagementService = statusManagementService;
        }
コード例 #2
0
        public StatusesController(IStatusManagementService statusManagementService)
        {
            Check.Require(statusManagementService != null, "statusRepository may not be null");

            this.statusManagementService = statusManagementService;
        }