public SampleIntegrationListener(SampleListener listener, bool throwOnErrorId) { Listener = listener; ThrowOnErrorId = throwOnErrorId; EventHandlers.ThrowOnErrorId = throwOnErrorId; }
public FeedServiceDirect(bool throwOnErrorId) { ThrowOnErrorId = throwOnErrorId; Listener = new SampleListener(new Uri(CosmosUri), CosmosKey); EventHandlers.ThrowOnErrorId = throwOnErrorId; }