コード例 #1
0
 internal Volume(IInterface volume)
 {
     this.volume           = volume;
     _enabledChangedSignal = volume.GetSignal(nameof(EnabledChanged));
     _enabledChangedSignal.SignalRaised += EnabledChangedSignal_SignalRaised;
     _muteChangedSignal = volume.GetSignal(nameof(MuteChanged));
     _muteChangedSignal.SignalRaised  += MuteChangedSignal_SignalRaised;
     volumeChangedSignal               = volume.GetSignal(nameof(VolumeChanged));
     volumeChangedSignal.SignalRaised += VolumeChangedSignal_SignalRaised;
 }