public CreateSound(CfCreateSound cfCreateSound) { Name = cfCreateSound.Name; Item = cfCreateSound.Item.GetType() == typeof(CfCreateSoundRecordingCall) ? new CreateSoundRecordingCall(((CfCreateSoundRecordingCall) cfCreateSound.Item).ToNumber) : cfCreateSound.Item; SoundTextVoice = cfCreateSound.SoundTextVoice; }
public long CreateSound(CfCreateSound cfCreateSound, CfSoundFormat cfSoundFormat) { return CallService.CreateSound(new CreateSound(cfCreateSound)); }