/// <summary> /// Creates document observer instance with client and destination collection information /// </summary> /// <returns>DocumentFeedObserver with client and destination collection information</returns> public IChangeFeedObserver CreateObserver() { ChangeFeedProcessor.DocumentFeedObserver newObserver = new DocumentFeedObserver(); return(newObserver as IChangeFeedObserver); }
/// <summary> /// Creates document observer instance with client and destination collection information /// </summary> /// <returns>DocumentFeedObserver with client and destination collection information</returns> public IChangeFeedObserver CreateObserver() { DocumentFeedObserver newObserver = new DocumentFeedObserver(this.client, this.collectionInfo); return(newObserver); }