public SampleIntegrationListener(SampleListener listener, bool throwOnErrorId)
 {
     Listener       = listener;
     ThrowOnErrorId = throwOnErrorId;
     EventHandlers.ThrowOnErrorId = throwOnErrorId;
 }
Пример #2
0
 public FeedServiceDirect(bool throwOnErrorId)
 {
     ThrowOnErrorId = throwOnErrorId;
     Listener       = new SampleListener(new Uri(CosmosUri), CosmosKey);
     EventHandlers.ThrowOnErrorId = throwOnErrorId;
 }