Esempio n. 1
0
 private IVRMenuElementBase GetIVRMenuFromConfig(IVRMenuBaseConfig menu)
 {
     IVRMenuElementBase result;
     if (menu is IVRMenuCallTransferConfig)
     {
         result = new IVRMenuElementCallTransfer((IVRMenuCallTransferConfig)menu);
     }
     else if (menu is IVRMenuInfoReaderConfig)
     {
         result = new IVRMenuElementInfoReader((IVRMenuInfoReaderConfig)menu);
     }
     else
     {
         result = new IVRMenuElementVoiceMessageRecorder((IVRMenuVoiceMessageRecorderConfig)menu);
     }
     return result;
 }
 private IVRMenuElementInfoReader(IVRMenuElementInfoReader original)
     : base(original)
 {
 }
 public VmIVRMenuElementInfoReader(IVRMenuElementInfoReader model)
     : base(model)
 {
     Icon = "/OPSIVRSystem;component/Resources/texttospeech.png";
 }
 public override IVRMenuElementBase GetModel()
 {
     var res = new IVRMenuElementInfoReader();
     InitModelCommonFields(res);
     return res;
 }
Esempio n. 5
0
 private IVRMenuElementInfoReader(IVRMenuElementInfoReader original)
     : base(original)
 {
 }