Ejemplo n.º 1
0
 public WhisperClient(CallInvoker callInvoker, Session session, ILogger logger,
                      IWhisperFormBuilder formBuilder = null,
                      IWhisperFormParser parser       = null) : this(new Whisper.WhisperClient(callInvoker), session, logger)
 {
     Parser  = parser ?? new WhisperFormParser();
     Builder = formBuilder ?? new WhisperFormBuilder();
 }
Ejemplo n.º 2
0
 public WhisperClient(Whisper.WhisperClient client, Session session, ILogger logger,
                      IWhisperFormBuilder formBuilder = null,
                      IWhisperFormParser parser       = null) : base(client, session, logger, "whisper")
 {
     Parser  = parser ?? new WhisperFormParser();
     Builder = formBuilder ?? new WhisperFormBuilder();
 }