示例#1
0
        public MidiOscConversionController(
            ISendToEndpointUseCase sendToEndpointUseCase,
            IEndPointSettingUseCase endPointSettingUseCase,
            IMidiCommunicationUseCase midiCommunicationUseCase,
            IMidiMappingSettingUseCase midiSettingUseCase)
        {
            this.endPointSettingUseCase = endPointSettingUseCase;
            this.sendToEndpointUseCase  = sendToEndpointUseCase;

            this.midiSettingUseCase = midiSettingUseCase;

            midiCommunicationUseCase.OnMidiAsObservable.Subscribe(OnMidiData).AddTo(disposable);
        }
 public MidiCommunicationController(IMidiCommunicationUseCase useCase)
 {
     this.useCase = useCase;
 }