Exemplo n.º 1
0
        public void Test_GetSoundDataMandatory()
        {
            var getSoundData = new CfGetSoundData
            {
                Id = 459849001
            };

            if (Client.GetType() == typeof(SoapCallClient))
            {
                var id = Client.GetSoundData(getSoundData);
                Assert.IsNotNull(id);
            }
        }
Exemplo n.º 2
0
        public void Test_GetSoundDataComplete()
        {
            var getSoundData = new CfGetSoundData
            {
                Id     = 459849001,
                Format = CfSoundFormat.Wav
            };

            if (Client.GetType() == typeof(SoapCallClient))
            {
                var id = Client.GetSoundData(getSoundData);
                Assert.IsNotNull(id);
            }
        }
 public byte[] GetSoundData(CfGetSoundData cfGetSoundData)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public byte[] GetSoundData(CfGetSoundData cfGetSoundData)
 {
     return(CallService.GetSoundData(new GetSoundData(cfGetSoundData)));
 }
 public GetSoundData(CfGetSoundData cfGetSoundData)
     : base(cfGetSoundData.Id)
 {
     Format = EnumeratedMapper.ToSoapEnumerated <SoundFormat>(cfGetSoundData.Format.ToString());
 }