Beispiel #1
0
 public PollingEndpointTest()
 {
     _endpoint = new PollingEndpoint <MockEntity>(EntryEndpoint, "endpoint", endCondition: x => x.Id == 3)
     {
         PollingInterval = TimeSpan.Zero
     };
 }
 public override void SetUp()
 {
     base.SetUp();
     _endpoint = new PollingEndpoint<MockEntity>(EntryEndpoint, "endpoint", endCondition: x => x.Id == 3)
     {
         PollingInterval = TimeSpan.Zero
     };
 }
Beispiel #3
0
 /// <summary>
 /// Creates a new REST polling command.
 /// </summary>
 /// <param name="endpoint">The endpoint this command operates on.</param>
 public PollingCommand(IPollingEndpoint <TEntity> endpoint)
     : base(endpoint)
 {
     Endpoint = endpoint;
 }