Method FindRoutedElsewhereIn
- Namespace
- MailFathom.Application.Configuration
- Assembly
- MailFathom.Application.dll
FindRoutedElsewhereIn(IEnumerable<string>)
Finds the settings a root-document candidate carries that the catalog persists somewhere else.
public static IReadOnlyList<string> FindRoutedElsewhereIn(IEnumerable<string> rootDocumentKeys)
Parameters
rootDocumentKeysIEnumerable<string>Every configuration key the persisted root document flattened to.
Returns
- IReadOnlyList<string>
The specially routed paths the document reaches, ordered as they are declared, empty when it reaches none.
Remarks
The exclusion is what makes the routing worth anything. A root document carrying a user's account beside the UserAccounts store's copy of it would leave two rows describing one setting, and the reader that composed them would be choosing which of the two the deployment meant.
Exceptions
- ArgumentNullException
Thrown when
rootDocumentKeysis null.