Exemple #1
0
        public void TruncateLoggedEntities(IQueryEngineRegistrySnapshot snapshot)
        {
            if (snapshot == null)
            {
                throw new ArgumentNullException(nameof(snapshot));
            }

            Observers.ClearRemovedKeys(snapshot.RemovedObservers);
            Observables.ClearRemovedKeys(snapshot.RemovedObservables);
            SubjectFactories.ClearRemovedKeys(snapshot.RemovedSubjectFactories);
            Subjects.ClearRemovedKeys(snapshot.RemovedSubjects);
            ReliableSubscriptions.ClearRemovedKeys(snapshot.RemovedReliableSubscriptions);
            SubscriptionFactories.ClearRemovedKeys(snapshot.RemovedSubscriptionFactories);
            Subscriptions.ClearRemovedKeys(snapshot.RemovedSubscriptions);
            Other.ClearRemovedKeys(snapshot.RemovedOther);
            Templates.ClearRemovedKeys(snapshot.RemovedTemplates);
        }