Beispiel #1
0
 public FakeConnectionsClient(ISymClient client) : base(client)
 {
     moqRestRequestHandler = new Mock <RestRequestHandler>();
     moqHttpWebResponse    = new Mock <HttpWebResponse>();
     moqRestRequestHandler.Setup(x => x.executeRequest(It.IsAny <object>(), It.IsAny <string>(), It.IsAny <bool>(), It.IsAny <string>(), It.IsAny <SymConfig>(), It.IsAny <bool>()))
     .Returns(moqHttpWebResponse.Object);
 }
Beispiel #2
0
 public DatafeedEventsService(ISymClient client)
 {
     this.botClient      = client;
     roomListeners       = new List <RoomListener>();
     IMListeners         = new List <IMListener>();
     connectionListeners = new List <ConnectionListener>();
     datafeedClient      = new DatafeedClient();
     datafeed            = datafeedClient.createDatafeed(client.getConfig());
     datafeedId          = datafeed.datafeedID;
 }
 public ConnectionsClient(ISymClient client)
 {
     botClient = client;
 }
 public MessageClient(ISymClient client)
 {
     botClient = client;
 }
 public UserClient(ISymClient client)
 {
     botClient = client;
 }
 public PresenceClient(ISymClient client)
 {
     botClient = client;
 }
 public SignalsClient(ISymClient client)
 {
     botClient = client;
 }
Beispiel #8
0
 public StreamClient(ISymClient client)
 {
     botClient = client;
 }
Beispiel #9
0
 public FakeConnectionsClientWithAllValues(ISymClient client) : base(client)
 {
 }
Beispiel #10
0
 public FakeConnectionsClientWithMissingValues(ISymClient client) : base(client)
 {
 }